User Tools

Site Tools


gams:error_286

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gams:error_286 [2008/02/22 13:20]
Franz Nelissen
gams:error_286 [2008/02/22 13:22]
Franz Nelissen
Line 17: Line 17:
 a eolcom statement without an argument, which triggers the error message. ​ a eolcom statement without an argument, which triggers the error message. ​
  
-A more complicated situation may arise, if the second definition of the delimiter happens in a include file. If you want to set an eolcom or inline comment in an include file you have to do disable the current eolcom and the redefine it again. Then it does not matter what kind of eolcom character you used in the calling GAMS file. Since +A more complicated situation may arise, if the second definition of the delimiter happens in a include file. If you want to set an eolcom or inline comment in an include file you have to do disable the current eolcom and the redefine it again. ​
-all those dollar option are scoped, the calling gams file keeps its eolcom character.+
 <​code>​ <​code>​
 $offeolcom $eolcom ! $offeolcom $eolcom !
 </​code>​ </​code>​
-To make this totally save one could use:+Then it does not matter what kind of eolcom character you used in the calling GAMS file. Since 
 +all those dollar option are scoped, the calling gams file keeps its eolcom character. ​To make this totally save one could use:
 <​code>​ <​code>​
 %$offeolcom offinline comment * dollar $ eolcom !  ​ %$offeolcom offinline comment * dollar $ eolcom !  ​
 </​code>​ </​code>​
-Note the use of %$, it means use the current $ symbol.Again, ​ since everything is scoped, it will not do damage the the calling file processing.+Note the use of %$, it means use the current $ symbol. Again, ​ since everything is scoped, it will not do damage the the calling file processing.
  
  
  
  
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/error_286.txt · Last modified: 2008/02/22 13:22 by Franz Nelissen