Setddlist

Top  Previous  Next

Causes GAMS to look for misspelled or undefined 'double dash' GAMS parameters.  For example, in the program below the double dash' options in use are 'one', 'two', 'three' and 'four' (note the use of the %two% in quotes automatically makes it part of the allowed list of double dash parameters):

 

$if NOT set one $set one default value

display '%two%';

$setddlist three four

 

The following GAMS invocation will cause an error since --five is not a valid 'double dash' option.

 

gams ein.gms --two=twovalue --five=20