then: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (merged to the if statement) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''then''' is not a stand-alone command. It can only be used as part of the [[if]] statement |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Control Structures]], [[if]], [[else]] |= See also | | [[Control Structures]], [[if]], [[else]] |= See also | ||
Revision as of 06:13, 5 September 2007
Description
- Description:
- then is not a stand-alone command. It can only be used as part of the if statement
- Groups:
- Uncategorised
Syntax
- Syntax:
- Control Structures, if, else
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Ceeeb
- Any variables you declare within the body of an if/then statement (ie between the curly braces) are local to that 'if' statement, and are destroyed at the end of the statement. If you know you want to use the variable outside the 'if' statement, make sure your declare it before the 'if' statement.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.85
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- ArmA: Control Structures
- Command Group: Program Flow