7.5

Table Of Contents
Result:
ClearPage (procedure)
Clears the current data page and loads the next one. This command should only be used before reading the next page of data
from the input stream. It is strictly for use within a User-Define Emulation and generally follows DoForm (procedure).
Syntax
clearpage()
Argument
None
Example:
This example the default User-Defined Emulation that corresponds to a Line Printer data file.
search(&str,'\014')
set(&current.line,&current.line + 1)
store(&current.line,&str)
doform()
clearpage()
endsearch()
set(&current.line,&current.line + 1)
store(&current.line,&str)
if(ge(&current.line,&current.lpp))
doform()
clearpage()
endif()
ClipPath (procedure)
The Clippath() command takes the last drawn path and selects it as the clipping region. Any subsequent drawing will only be
visible inside that clipping region. The clipping will stop at the next call to GRestore(). All PlanetPress objects are natively
wrapped in a GSave/GRestore(), so clipping between objects will not work.
©2010 Objectif Lune Inc - 264 -