6.0

Table Of Contents
119
Argument
expression1 — Boolean value.
Code Sample Example
This example shows how NOT can be used in place of operators.
Example
define(&x,integer,1) %Define loop variable
for(&x,1,1,10) %Set loop
if(not(&x=5)) %Same as if(&x<>5)
show('This is NOT the 5th line') %Show some text
elseif()
show('This IS the 5th line') %Show alternate
endif()
endfor()
Object $name()... EndObject (procedure)
Creates an object. You can reference the object you create using the $ operator. See “$element
(procedure)” on page 63.
Important! You cannot enter this command, or import a script that uses this command, anywhere in
PlanetPress Design. It is an advanced command that is available only when you directly edit a .ptk file, or
write a .ptk file from scratch.
Syntax
Syntax for an object that does not set its Set snapping point property:
object $name( top, left, width, height, condition, angle, setsnappingpoint, snaptoprevious )
...
endobject()
Syntax for an object that does set its Set snapping point property:
object $name( top, left, width, height, condition, angle, setsnappingpoint, snaptoprevious )
...
moveto( x_value, y_value )
endobject()