Excess or insufficient semi colons - error B

Top  Previous  Next

Too few or too many ;'s have been specified.  The insufficient case is illustrated above.  The example shorterr.gms provides a case where a semi colon has been omitted where the immediate first error message appears as below

 

  22  EQUATIONS          OBJT OBJECTIVE FUNCTION ( PROFIT )

  23                     AVAILABLE(RESOURCE) RESOURCES AVAILABLE

  24  OBJT.. PROFIT=E=   SUM(PROCESS,(PRICE(PROCESS)*yield(process)

****      $96                        $2   $195      $96

  25                         -PRODCOST(PROCESS))*PRODUCTION(PROCESS)) ;

****                         $409

 

Error Messages

 

96  Blank needed between identifier and text

       (-or- illegal character in identifier)

       (-or- check for missing ';' on previous line)

 

Normally this error is associated with GAMS error message $96.