7.5

Table Of Contents
New value to store in the variable. This value can be any valid PlanetPress Talk expression, as long as its type is the same as
the variable's original type.
Code Sample Example
set( &invoice_number, (&invoice_number + 1) )
set( &is_bottom, (not(&is_top) and not(&is_middle)) )
&tax_rates[2] :=32
put( &tax_rates[2], @(1,3,5) )
set( &months, ['JAN','FEB','MAR','APR','MAY'] )
set( &mustard_color,[0,20,90,16] )
set( &prices, [12.5632,18.9932,23.6651,27.0300] )
put( &imagefiles[0], 'c\\images\\sushi.png' )
SetAngle (procedure)
This command rotates all subsequent commands by the angle specified. Most commands and objects that are dis-
played/printed on the document are affected by the setangle command.
Syntax
setangle( angle )
Argument
angle
Measure value specifying the angle of rotation in degrees for all subsequent commands. Use a positive value for counter-clock-
wise motion and a negative value for clockwise motion. This value is relative to the current angle, not absolute.
Code Sample Example
This example illustrates setangle().
setangle() sets a rotation for all subsequent commands. Consequently, setangle commands are cumulative. Therefore, to
restore the previous angle of rotation, you must issue a setangle command that negates whatever rotation applied.
Example
setangle(45.00) %Rotate subsequent commands by 45 degrees
show('Some text') %Display at a 45 degree angle
setangle(45.00) %Rotate subsequent commands by 45 degrees
show('Some text') %Display at a 90 degree angle
setangle(-90) %Cancel all rotations
©2010 Objectif Lune Inc - 326 -