image\Dql_0023.gif- - (comment)

Type

Punctuation 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

Example

for MEMBERS with count of RESERVATIONS >= 7 ;

list records

LAST NAME ;-- THIS SCRIPT LISTS MEMBERS WHO

MEMBER ID . -- TAKE THE MOST VACATIONS

end

 

This script selects MEMBERS records that have at least seven matching RESERVATIONS records and lists the members' LAST NAME and MEMBER ID values. The comment to the left of the script has no effect on processing. DataEase ignores text that follows the double dash comment symbol.