6.0

Table Of Contents
95
Argument
expression — Measure value to be converted.
precision — The number of decimal places to include in the result string.
Code Sample Examples
These examples illustrate floattostr().
Example 1
floattostr(3.14) %Returns 3.14
Example 2
floattostr(11) %Returns 11.0
Example 3
floattostr(34.6453455, 4) %Returns 34.6453
For… EndFor (procedure)
This command structure allows a series of nested commands to be repeated a specified number of times.
Each for statement must have a corresponding endfor statement in order for PlanetPress Talk to know
which commands to include in the loop. Note that you cannot increment the counter for a for() loop, inside
the loop.
Note: If you open a document created a with a version of PlanetPress Design earlier than 5.2.0, and if that
document includes a for() loop with an increment greater than 1, you will notice that the loop is executed
one less time than with your older version software both in PlanetPress Design itself and when you use the
Optimized PostScript Stream option. The behavior on printers (using the Printer Centric option), on the
other hand, remains unchanged.
Syntax
for( varname, startvalue, increment, stopvalue )
endfor()
Arguments
varnameName of the variable to use for iterations. The variable must already exist.