scopeName: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(Example added, description slightly extended) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands. Scope name can be defined only once per scope. |= Description | | Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands like [[breakOut]] and [[breakTo]]. Scope name can be defined only once per scope. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 15: | Line 15: | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <code>[[scopeName]] "main"; | |||
while {true} do { | |||
[[scopeName]] "loop1"; | |||
while {true} do { | |||
[[scopeName]] "loop2"; | |||
... | |||
}; | |||
}; | |||
</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 15:58, 7 March 2015
Description
- Description:
- Defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands like breakOut and breakTo. Scope name can be defined only once per scope.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
scopeName "main"; while {true} do { scopeName "loop1"; while {true} do { scopeName "loop2"; ... }; };
Additional Information
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