with: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(pre -> code, syntax) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Execute the code inside the given namespace. |= Description | | Execute the code inside the given [[Namespace|namespace]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''with''' | | '''with''' nameSpace '''do''' code|= Syntax | ||
|p1= namespace: [[Namespace]] |= Parameter 1 | |||
|p2= code: [[Code]] |= Parameter 2 | |||
| [[Anything]] |= Return value | | [[Anything]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[[with]] [[missionNamespace]] [[do]] {global = global + 1;};</code> |=Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:50, 15 April 2014
Description
- Description:
- Execute the code inside the given namespace.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
with missionNamespace do {global = global + 1;};
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