Including External Files

Top  Previous  Next

GAMS may include external files.  This may be done with and without substitution of some items within the file.  There are also special provisions regarding inclusion of comma-delimited files.

 

Inclusion without arguments

Suppressing the listing of include files

Redefining the location of include files - Idir

Include with arguments

Influence on LST file contents: $Oninclude and $Offinclude

Passing $ commands between code segments: $Onglobal and $Offglobal

Special provision for CSV files