Symbol
Purpose
The - - (comment) symbol is used to insert annotative comments in a script. Comments have no effect during the execution of the procedure.
Syntax
-- COMMENT TEXT
Usage
DataEase treats each character between the double dash symbol and the end of the line as part of the comment.
To continue a comment on more than one line, use the double dash symbol at the beginning of each line.
Example
for MEMBERS with TOTAL DUE >= 500 ;
LAST NAME ;
TOTAL DUE .
end -- THIS QUERY LISTS THE LARGEST FAMILIES.
-- IT SHOULD BE PRINTED ON THE TENTH DAY
-- OF EACH MONTH.
This script statement selects MEMBERS records that have a value greater than or equal to 500 in the TOTAL DUE field and lists the members' LAST NAME and TOTAL DUE values. The comment at the end of the script has no effect on processing. DataEase ignores text that follows the double dash comment symbol.