Hidden comments

Top  Previous  Next

Users may insert a hidden single line comment (or a group thereof) at any point in the code by placing a $Hidden command followed by comment text on the same line.  The commented text is completely ignored by the GAMS compiler, but is not copied to the echo print component of the LST file.  It can contain GAMS reserved words, messages or whatever.  An example follows and is in commentdol.gms

 

$hidden a comment I do not want in LST file

set a /a1,a2/;

set b /a2,c2/

set c /a3,d3/;