User Tools

Site Tools


gams:what_is_the_difference_between_stop_and_exit

What is the difference between $stop and $exit?

If you have only one input file $stop and $exit will do the same thing. If you are in an include file, $exit acts like an end-of file on the include file. However, if you encounter a $stop in an include file, gams will stop reading all input.

gams/what_is_the_difference_between_stop_and_exit.txt · Last modified: 2010/05/19 11:32 by support