configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|version1= 1.56 | |||
|1.56 | |||
|gr1= Variables | |gr1= Variables | ||
Line 9: | Line 8: | ||
|gr2= Config | |gr2= Config | ||
| A non-existing [[Config]]. | |descr= A non-existing [[Config]]. | ||
{{ | {{Feature|important| | ||
Unlike other null values ([[objNull]], [[grpNull]], etc), [[configNull]] returns [[true]] when compared to itself. | |||
<sqf> | |||
configNull == configNull; // returns true | |||
isNull configNull; // returns true | |||
configNull isEqualTo configNull; // returns true | |||
configNull == configFile >> "ANonExistentEntry"; // returns true | |||
</sqf> | |||
}} | }} | ||
|s1= [[configNull]] | |||
|r1= [[Config]] | |||
| [ | |x1= <sqf>_config = missionNamespace getVariable ["myConfig", configNull];</sqf> | ||
| | |x2= <sqf>str configNull; // returns ""</sqf> | ||
| | |seealso= [[controlNull]] [[displayNull]] [[grpNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[typeName]] [[isNull]] | ||
}} | }} | ||
Latest revision as of 13:13, 13 May 2022
Description
Syntax
- Syntax:
- configNull
- Return Value:
- Config
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- controlNull displayNull grpNull locationNull objNull taskNull teamMemberNull scriptNull typeName isNull
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