configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|descr= 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> | |||
}} | }} | ||
Line 21: | Line 24: | ||
|r1= [[Config]] | |r1= [[Config]] | ||
|x1= < | |x1= <sqf>_config = missionNamespace getVariable ["myConfig", configNull];</sqf> | ||
|x2= < | |x2= <sqf>str configNull; // returns ""</sqf> | ||
|seealso= [[controlNull]] [[displayNull]] [[grpNull]] | |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