WHEN: Difference between revisions

From ASCEND
Jump to navigation Jump to search
Created page with '{{missing}} Category:Documentation'
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{missing}}
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]].
 
[[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.