with: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| (\[\[[^ ]+\]\]) \}\}" to "|seealso= ‎$1 }}")
m (Text replacement - "\|gr1=([^ ]+) \|([0-9]\.[0-9]{2}) " to "|$2 |gr1= $1 ")
Line 3: Line 3:
| arma2
| arma2


|gr1= Program Flow
|1.00


|1.00
|gr1=  Program Flow


| Creates a [[With Type]] that is used inside a [[do]] construct in order to execute code inside a given namespace.  
| Creates a [[With Type]] that is used inside a [[do]] construct in order to execute code inside a given namespace.  

Revision as of 22:34, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Program Flow

Syntax

Syntax:
with namespace
Parameters:
namespace: Namespace
Return Value:
With Type

Examples

Example 1:
_myWithType = with uiNamespace;
Example 2:
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