WHEN: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
When logical variables have certain values, use certain relations or model parts in defining a mathematical problem. The relations are not defined inside the [[WHEN]] statement because all the relations must be compiled regardless of which values the logical variables have at any given moment.
When logical variables have certain values, use certain relations or model parts in defining a mathematical problem. The relations are not defined inside the [[WHEN]] statement because all the relations must be compiled regardless of which values the logical variables have at any given moment.


For for detail, see [[conditional modelling]].
For more detail, see [[conditional modelling]].


See also [[SWITCH]], [[SELECT]], and [[IF]].
See also [[SWITCH]], [[SELECT]], and [[IF]].


[[Category:Documentation]]
[[Category:Documentation]]

Latest revision as of 03:49, 2 April 2014

When logical variables have certain values, use certain relations or model parts in defining a mathematical problem. The relations are not defined inside the WHEN statement because all the relations must be compiled regardless of which values the logical variables have at any given moment.

For more detail, see conditional modelling.

See also SWITCH, SELECT, and IF.