configNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>")
m (Text replacement - "\{\{cc\|([^} ]*)\}\}" to "// $1")
Line 11: Line 11:


{{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>
* {{hl|c= [[configNull]] <nowiki>==</nowiki> [[configNull]]; {{cc|returns true}}}}
* {{hl|c= [[configNull]] <nowiki>==</nowiki> [[configNull]]; // returns true}}
* {{hl|[[isNull]] [[configNull]]; {{cc|returns true}}}}
* {{hl|[[isNull]] [[configNull]]; // returns true}}
* {{hl|[[configNull]] [[isEqualTo]] [[configNull]]; {{cc|returns true}}}}
* {{hl|[[configNull]] [[isEqualTo]] [[configNull]]; // returns true}}
* {{hl|c= [[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; {{cc|returns true}}}}
* {{hl|c= [[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; // returns true}}
}}
}}



Revision as of 11:26, 12 May 2022

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:
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