6.0

Table Of Contents
94
Language Reference
4
&FirstSide (system variable)
Read-only variable that returns True when a page is printing on the first side of a page in duplex mode
(double-sided printing). In simplex mode (single-sided) &firstside always returns True.
This variable is based on PostScript’s firstside command as implemented in your printer. If your printer
does not support firstside, the document attempts to detect which side of the page is currently printing.
Passthrough commands can hamper the document’s ability to return the correct value for &firstside.
Syntax
&firstside Boolean value
FloatToInt (function)
Converts a measure expression into an integer value.
Syntax
floattoint( expression ) integer value
Argument
expression — Measure value to be converted. The decimal part is rounded to a whole number.
Code Sample Examples
These examples illustrate floattoint().
Example 1
floattoint(3.2) %Returns 3
Example 2
floattoint(11.6) %Returns 12
FloatToStr (function)
Converts a measure expression into a string value.
Syntax
floattostr( expression[, precision]) string value