warning1.gms : set limit on compilation warnings with WARNING=n

Description


Small Model of Type : GAMS


Category : GAMS Test library


Main file : warning1.gms

$title set limit on compilation warnings with WARNING=n (WARNING1,SEQ=58)
$onDollar
$echo $warning > temp.gms
$call =gams temp.gms warnings=0 lo=2
$if not errorlevel 1 $error should have triggered and error but is %system.errorlevel%