Comments

Comments in the Logic Template are used to make it easier to document. Comments are stripped from the Logic Template at the time of compilation.

A Logic Template comment is two forwad slashes followed by a space followed by the comment string. Everything after the pair of slashes until the end-of-line character is considered to be part of the comment string, and is removed at the time of compilation.

A comment can occur anywhere within the Logic Template.

Format
// string

Item

Description

string

The comment to be placed into the logic template

Example
 

//Sort results by distance from a location if a set of coordinates has been loaded
//into the variable "Center"

IF ( Center )

IF ( 0 < Radius )

GeoRadialSearch( RESTRICTIVE, LocIndex, Center, Radius, 1, 0, MILES );

GeoCircFilter( CIRC_AND_INT, Field_X, Field_Y, Center, Radius, MILES );

ENDIF

GeoSpatialSort( Field_X, Field_Y, Center, 1 );

ENDIF