Fixing Compilation Errors

Top  Previous  Next

The execution of a GAMS program passes through a number of stages, the first of which is the compilation step.  Users watching the execution of a program are sometimes dismayed to get the message: COMPILATION ERRORS with the message indicating some large number of errors.  These notes cover the process of finding and fixing GAMS compilation errors.

 

Don't bark up the wrong tree

Finding errors: ****

Finding errors: $

Repositioning error messages: Errmsg

Improperly placed semi colons - error A

Error message proliferation

Commonly found errors and their cause

Other common errors