6.0

Table Of Contents
62
Language Reference
4
% (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.
Note: 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.
Example
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()
@ (function)
Returns a selection within the current data page.
Syntax
@( line, startcolumn, endcolumn ) string value
Arguments
line — Integer value specifying the line on which to read the data in the current data page.
startcolumn, endcolumn — Integer values specifying the start/end columns of the chunk of data to read
from the current data page.