7.4

Table Of Contents
Scale (procedure)
Scales the result of all commands that follow the scale() command.
Syntax
scale(width, height)
Argument
width
Measure value specifying the factor by which to scale the width.
height
Measure value specifying the factor by which to scale the height.
Code Sample Example
scale( 2,0.5 )
Search EndSearch (procedure)
This command structure allows a series of nested commands to be repeated as long as a specific string of characters (the
search string) is found within another string (the target string). After each iteration, the target string contains all the data
between occurrences of the search string, excluding the search string. Once the loop is over, target contains the remaining
characters of the original data.
Syntax
search( target, search )
endsearch()
Arguments
target
Name of a variable of type string in which to perform the search.
search
String value to search for.
Code Sample Example
This example splits a string delimited with semi-colons.
In the OnReadDataPage event of the user-defined emulation, the &str system variable contains each new line of data
being fed to the document. Also, do not assign anything to the variable while inside the search-endsearch loop; it will get
overwritten.
©2010 Objectif Lune Inc - 439 -