7.67.52015-05-06

% (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()