with: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed example)
m (added do{})
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''with''' NameSpace|= Syntax
| '''with''' NameSpace do {...};|= Syntax


|p1= Namespace: [[Namespace]] |= Parameter 1
|p1= Namespace: [[Namespace]] |= Parameter 1

Revision as of 08:02, 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