configNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 9: Line 8:


|gr2= Config |GROUP2=
|gr2= Config |GROUP2=
____________________________________________________________________________________________


| A non-existing [[Config]].
| A non-existing [[Config]].
Line 21: Line 19:


  |DESCRIPTION=
  |DESCRIPTION=
____________________________________________________________________________________________


| [[configNull]] |SYNTAX=
| [[configNull]] |SYNTAX=


| [[Config]] |RETURNVALUE=
| [[Config]] |RETURNVALUE=
____________________________________________________________________________________________
|x1= <code>_config = [[missionNamespace]] [[getVariable]] ["myConfig", [[configNull]]];</code>|Example1=
|x1= <code>_config = [[missionNamespace]] [[getVariable]] ["myConfig", [[configNull]]];</code>|Example1=


|x2= <code>[[str]] [[configNull]]; {{cc|returns ""}}</code> |Example2=
|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 01:31, 17 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

Notes

Bottom Section