6.0

Table Of Contents
134
Language Reference
4
Example
define(&data,string,'This is a~sample string')
define(&x,integer, pos('~', &data)) %Find tilde
if(&x>1)
show(right(&data,length(&data)-&x))
%Show remainder of string
endif()
RunPS (procedure)
This command is typically used to call resources, usually images, downloaded either with the Image
Downloader in PlanetPress Design or Send Images to Printer action tasks in PlanetPress Watch. Note that
this command does not work with any other PostScript files.
Syntax
runps( filename )
Argument
filename — String value. Name of the resource file.
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