import: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) (Add import (Config) link) |
||
Line 7: | Line 7: | ||
|descr= Imports one or multiple local variables from the parent scope, and defines them as [[private]] variables in the current scope. It can bypass [[privateAll]]. | |descr= Imports one or multiple local variables from the parent scope, and defines them as [[private]] variables in the current scope. It can bypass [[privateAll]]. | ||
{{Feature|informative|For the config keyword, see [[import (Config)]].}} | |||
|s1= [[import]] variableName | |s1= [[import]] variableName |
Revision as of 17:53, 30 October 2023
Description
- Description:
- Imports one or multiple local variables from the parent scope, and defines them as private variables in the current scope. It can bypass privateAll.
- Groups:
- Variables
Syntax
- Syntax:
- import variableName
- Parameters:
- variableName: String or Array of Strings - variable(s) to import
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- privateAll private params
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