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

Top  Previous  Next

Ordinarily the $commands in a program which includes others are not passed on to included files.  On can require GAMS to pass such commands using the $Onglobal command which can be subsequently reversed using $Offglobal.