|
If, Else, and Elseif |
Top Previous Next |
|
Another way of imposing conditionals involves use of the if statement syntax. Such statements may also involve use of else and elseif statements. In general, if statements that are not in equation specification statements can be written as $ conditions, but the use of if can make GAMS code more readable. If statements are covered in the Control Structures chapter. |