with: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added do{})
Line 34: Line 34:
[[Category:Command Group: Program Flow|IF]]
[[Category:Command Group: Program Flow|IF]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:44, 2 November 2011

Hover & click on the images for description

Description

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

Syntax

Syntax:
with NameSpace do {...};
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