grpNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Groups |GROUP1=
|gr1= Groups


| A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
| A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
* <tt>[[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false</tt>
* <tt>[[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false</tt>
* <tt>[[isNull]] [[grpNull]]; // true</tt>
* <tt>[[isNull]] [[grpNull]]; // true</tt>
* <tt>[[grpNull]] [[isEqualTo]] [[grpNull]]; // true</tt> |DESCRIPTION=
* <tt>[[grpNull]] [[isEqualTo]] [[grpNull]]; // true</tt>




|'''grpNull''' |SYNTAX=
|'''grpNull'''


| [[Group]] |RETURNVALUE=
| [[Group]]
| x1 = <code>![[isNull]] [[grpNull]]; // false</code> |EXAMPLE1=
| x1 = <code>![[isNull]] [[grpNull]]; // false</code>
| x2 = <code>[[str]] [[grpNull]]; // <NULL-group></code> |EXAMPLE2=
| x2 = <code>[[str]] [[grpNull]]; // <NULL-group></code>


| [[controlNull]], [[displayNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]] |SEEALSO=
| [[controlNull]], [[displayNull]], [[locationNull]], [[objNull]], [[taskNull]], [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]


}}
}}

Revision as of 01:48, 18 January 2021

Hover & click on the images for description

Description

Description:
A non-existing Group. To compare non-existent groups use isNull or isEqualTo:
Groups:
Groups

Syntax

Syntax:
grpNull
Return Value:
Group

Examples

Example 1:
!isNull grpNull; // false
Example 2:
str grpNull; // <NULL-group>

Additional Information

See also:
controlNulldisplayNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeNameisNull

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

Bottom Section