configNull: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) |
||
Line 8: | Line 8: | ||
| A non-existing [[Config]]. | | A non-existing [[Config]]. | ||
* <tt>[[configNull]] <nowiki>==</nowiki> [[configNull]]; | |||
* <tt>[[isNull]] [[configNull]]; | {{Important | unlike other null values ([[objNull]], [[grpNull]], etc), [[configNull]] returns [[true]] when compared to itself.}} | ||
* <tt>[[configNull]] [[isEqualTo]] [[configNull]]; | |||
* <tt>[[configNull]] <nowiki>==</nowiki> [[configNull]]; {{cc|returns '''true'''}}</tt> | |||
* <tt>[[isNull]] [[configNull]]; {{cc|returns true}}</tt> | |||
* <tt>[[configNull]] [[isEqualTo]] [[configNull]]; {{cc|returns true}}</tt> |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[configNull]] |SYNTAX= | ||
| [[Config]] |RETURNVALUE= | | [[Config]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_config = [[missionNamespace]] [[getVariable]] ["myConfig", [[configNull]]];</code>|= | |x1= <code>_config = [[missionNamespace]] [[getVariable]] ["myConfig", [[configNull]]];</code>|Example1= | ||
| x2 = <code>[[str]] [[configNull]]; | |||
|x2= <code>[[str]] [[configNull]]; {{cc|returns ""}}</code> |Example2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[typeName]], [[isNull]] |SEEALSO= | | [[controlNull]], [[displayNull]], [[grpNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[typeName]], [[isNull]] |SEEALSO= | ||
}} | }} | ||
Revision as of 22:15, 4 September 2019
Description
- Description:
- A non-existing Config.
- configNull == configNull; // returns true
- isNull configNull; // returns true
- configNull isEqualTo configNull; // returns true
- Groups:
- Uncategorised
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