configNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 17: Line 17:
* <tt>[[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; {{cc|returns true}}</tt>
* <tt>[[configNull]] <nowiki>==</nowiki> [[configFile]] >> "ANonExistentEntry"; {{cc|returns true}}</tt>
}}
}}


| [[configNull]]
| [[configNull]]

Revision as of 18:07, 18 January 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