with: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed program flow category listing position (was if))
Line 32: Line 32:


[[Category:Scripting Commands|WITH]]
[[Category:Scripting Commands|WITH]]
[[Category:Command Group: Program Flow|IF]]
[[Category:Command Group: Program Flow|WITH]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 13:03, 17 June 2012

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