Eolcom

Top  Previous  Next

This changes the up to 2 character string normally used to delimit an end of line comment from !! to the characters specified as discussed in the Including Comments chapter.  This command is invoked using the syntax

 

$eolcom characters

 

where characters are a two character specification of the new delimiter.  An example follows (commentdol.gms):

 

$Oneolcom

x=x+1;   !! eol comment

$eolcom &&

x=x+1;   && eol comment with new character

Notes:

By default the delimiter is initialized to '!!' but is not active.
The $eolcom or $Oneolcom dollar command must be used before end of line comments can be employed.
The $eolcom dollar command sets $Oneolcom to the default setting automatically.