Hi guys!
Is there a tool or command to use the piece of code Many times in GAMS?Instead of copying many times throughout the program?
Many Thanks!
Lucas
tool for Using a code several times in a GAMS Topic is solved
tool for Using a code several times in a GAMS
Last edited by Lucas 4 years ago, edited 2 times in total.
Re: Is there any tool for Using a piece of code several times in a GAMS code instead of coy?
Lucas,
You can either put this into a macro (https://www.gams.com/latest/docs/UG_Dol ... crosInGAMS) or in a (bat)include file (https://www.gams.com/latest/docs/UG_Dol ... batinclude).
-Michael
You can either put this into a macro (https://www.gams.com/latest/docs/UG_Dol ... crosInGAMS) or in a (bat)include file (https://www.gams.com/latest/docs/UG_Dol ... batinclude).
-Michael