then

From Bohemia Interactive Community
Revision as of 18:15, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - " {3,}\|" to " |")
Jump to navigation Jump to search

Template:Command

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.