https://wiki.hard-light.net/index.php?title=Switch&feed=atom&action=historySwitch - Revision history2024-03-29T10:04:26ZRevision history for this page on the wikiMediaWiki 1.31.7https://wiki.hard-light.net/index.php?title=Switch&diff=63249&oldid=prevTopAce: Created page with " Switch (Conditional operator) Performs one action according to the value of the first argument. If the argument evaluates to 0, the first action is performed; if the arg..."2021-03-07T21:57:30Z<p>Created page with " Switch (Conditional operator) Performs one action according to the value of the first argument. If the argument evaluates to 0, the first action is performed; if the arg..."</p>
<p><b>New page</b></p><div> Switch (Conditional operator)<br />
Performs one action according to the value of the first argument. If the argument evaluates to 0, the first action is performed; if the <br />
argument is 1, the next action is performed, etc. If the value is out of range, no action is performed at all.<br />
<br />
Takes 2 or more arguments...<br />
1: Numeric expression to evaluate.<br />
Rest: List of actions, one of which (at most) will be taken according to the value of the expression.<br />
<br />
[[Category:SCP SEXPs]]</div>TopAce