7.5

Table Of Contents
&Height (system variable)
System variable with a scope local to a specific object, group, or page. The system initializes this variable to the value of the
Height property of the object’s, group’s, or page’s Basic Attributes. You can reference and set this variable in any PlanetPress
Talk code you enter in the object, group, or page.
Syntax
&height measure value
&iterationcount (variable)
Integer variable local to the current object that is incremented each time the iteration is executed (when the iteration condition
is True).
This variable is generally used to determine when an overflow will be triggered within a simple repeat &overflow.
Syntax
&iterationcount integer value
Example
This example would be put in the Exit and Overflow box found in the Repeat section of an object or group's properties. In this
example, an overflow is triggered whenever the number of repeating lines reaches 15.
=&iterationcount >= 15
lastoverflowcount (variable)
Integer variable containing the number of repeats in the previous page of an overflow. For example if you are on the second
page of an overflow that contains 6 items each, &lastoverflowcount will be 6 at the beginning of the page, and 12 at the end of
the page (after the repeating object).
Note that this variable is not reset when the overflow finishes, meaning on a datafile that has no overflow, its value will still be
the one from the last overflow to occur.
Example:
if(&current.overflowing)
show('Showing '+inttostr(&lastoverflowcount) + ' to ' + &totalitemsonpage)
endif()
&Metamode (variable)
This variable is only available in PlanetPress Suite 7.3 and higher.
The &metamode boolean variable will indicate whether the script is being run while metadata is being created (for example,
with the Create Metadata task in PlanetPress Worfklow)or simply being read (with metadata conditions, etc).
Syntax
&metamode integer value
©2010 Objectif Lune Inc - 247 -