with: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added details and example from the comref)
m (Fixed example)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>with missionNamespace do {global = global + 1;};</code> |=Example 1
|x1= <pre>with missionNamespace do {global = global + 1;};</pre> |=Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:02, 12 June 2011

Hover & click on the images for description

Description

Description:
Execute the code inside the given namespace.
Groups:
Uncategorised

Syntax

Syntax:
with NameSpace
Parameters:
Namespace: Namespace
Return Value:
Anything

Examples

Example 1:
with missionNamespace do {global = global + 1;};

Additional Information

See also:
Forward CompatibilitymissionNamespaceuiNamespaceparsingNamespace

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

Bottom Section