grpNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 25: Line 25:


|descr= A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
|descr= A non-existing [[Group]]. To compare non-existent groups use [[isNull]] or [[isEqualTo]]:
* {{hl|c= [[grpNull]] <nowiki>==</nowiki> [[grpNull]]; // false}}
<sqf>
* {{hl|[[isNull]] [[grpNull]]; // true}}
grpNull == grpNull; // false
* {{hl|[[grpNull]] [[isEqualTo]] [[grpNull]]; // true}}
isNull grpNull; // true
grpNull isEqualTo grpNull; // true
</sqf>


|s1= '''grpNull'''
|s1= [[grpNull]]


|r1= [[Group]]
|r1= [[Group]]


|x1= <code>![[isNull]] [[grpNull]]; // false</code>
|x1= <sqf>!isNull grpNull; // false</sqf>
|x2= <code>[[str]] [[grpNull]]; // <NULL-group></code>


|seealso= [[controlNull]] [[displayNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]], [[scriptNull]], [[configNull]], [[typeName]], [[isNull]]
|x2= <sqf>str grpNull; // <NULL-group></sqf>
 
|seealso= [[controlNull]] [[displayNull]] [[locationNull]] [[objNull]] [[taskNull]] [[teamMemberNull]] [[scriptNull]] [[configNull]] [[typeName]] [[isNull]]
}}
}}

Latest revision as of 13:17, 13 May 2022

Hover & click on the images for description

Description

Description:
A non-existing Group. To compare non-existent groups use isNull or isEqualTo:
grpNull == grpNull; // false isNull grpNull; // true grpNull isEqualTo grpNull; // true
Groups:
Groups

Syntax

Syntax:
grpNull
Return Value:
Group

Examples

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

Additional Information

See also:
controlNull displayNull locationNull objNull taskNull teamMemberNull scriptNull configNull 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