7.6

Table Of Contents
margin(cos(&SB) * &R,neg(sin(&SB) * &R)-(0.05/&Scaling))
endif()
%====================================================
scale(1,1/&Scaling)
if(and(gt(&SB,90),lt(&SB,270)))
showright(&L+' ')
elseif()
show(' '+&L)
endif()
grestore()
Comments
% (procedure)
Comments out the line. This is useful for embedding documentation in your code, making it easier to read and maintain. It is
also useful during debugging, for commenting out lines of code you do not want to execute.
Comments must not appear in the first line of the script you enter in the PlanetPress Talk Editor.
Syntax
% comment ….
Argument
None
Code Sample Example
This example illustrates comments in PlanetPress Talk code.
define(&x,integer,1)
% Creates a new local variable named x that is an
% integer and has a value of 1. The variable is used
% in a loop
for(&x,1,1,10)
show(inttostr(&x))
endfor()
Graphics State
GRestore (procedure)
This command restores all system parameters previously saved with the gsave command. If no gsave command was issued
previously, the results are unpredictable. For more information, refer to the gsave command.
©2010 Objectif Lune Inc - 565 -