configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{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.< | {{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> | |||
}} | }} | ||
| [[configNull]] | |s1= [[configNull]] | ||
|r1= [[Config]] | |||
|x1= <sqf>_config = missionNamespace getVariable ["myConfig", configNull];</sqf> | |||
|x1= < | |||
|x2= < | |x2= <sqf>str configNull; // returns ""</sqf> | ||
|seealso= [[controlNull]] | |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