configNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
Line 12: Line 12:
{{Feature | important | Unlike other null values ([[objNull]], [[grpNull]], etc), [[configNull]] returns [[true]] when compared to itself.<br><br>
{{Feature | important | Unlike other null values ([[objNull]], [[grpNull]], etc), [[configNull]] returns [[true]] when compared to itself.<br><br>
* <tt>[[configNull]] <nowiki>==</nowiki> [[configNull]]; {{cc|returns true}}</tt>
* <tt>[[configNull]] <nowiki>==</nowiki> [[configNull]]; {{cc|returns true}}</tt>
* <tt>[[isNull]] [[configNull]]; {{cc|returns true}}</tt>
* {{hl|[[isNull]] [[configNull]]; {{cc|returns true}}}}
* <tt>[[configNull]] [[isEqualTo]] [[configNull]]; {{cc|returns true}}</tt>
* {{hl|[[configNull]] [[isEqualTo]] [[configNull]]; {{cc|returns true}}}}
* <tt>[[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; {{cc|returns true}}</tt>
* <tt>[[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; {{cc|returns true}}</tt>
}}
}}

Revision as of 00:17, 16 November 2021

Hover & click on the images for description

Description

Description:
A non-existing Config.
Unlike other null values (objNull, grpNull, etc), configNull returns true when compared to itself.

Groups:
VariablesConfig

Syntax

Syntax:
configNull
Return Value:
Config

Examples

Example 1:
_config = missionNamespace getVariable ["myConfig", configNull];
Example 2:
str configNull; // returns ""

Additional Information

See also:
controlNulldisplayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNulltypeNameisNull

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