configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(40 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3|= | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Variables | ||
| | |gr2= 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