configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(18 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 11: | 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 22: | Line 24: | ||
|r1= [[Config]] | |r1= [[Config]] | ||
|x1= < | |x1= <sqf>_config = missionNamespace getVariable ["myConfig", configNull];</sqf> | ||
|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