Else: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
ifwhatever { do something } else { do something else }
ifwhatever { do something } '''else''' { do something else }


Specifies code to run if a preceeding if condition is ''not'' met.  See [[if condition]].
Specifies code to run if a preceeding if condition is ''not'' met.  See [[if condition]].


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]

Revision as of 11:10, 4 May 2009

ifwhatever { do something } else { do something else }

Specifies code to run if a preceeding if condition is not met. See if condition.