taskNull: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(description example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| A non-existing task. This value is not equal to anything, including itself. |= Description
| A non-existing [[Task]]. To compare non-existent tasks use [[isNull]] or [[isEqualTo]]:
* <tt>[[taskNull]] <nowiki>==</nowiki> [[taskNull]]; // false</tt>
* <tt>[[isNull]] [[taskNull]]; // true</tt>
* <tt>[[taskNull]] [[isEqualTo]] [[taskNull]]; // true</tt> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 24:




|x1= <code>taskNull <nowiki>==</nowiki> taskNull</code>
| x1 = <code>![[isNull]] [[taskNull]]; // false</code> |=
result is false|= EXAMPLE1
| x2 = <code>[[str]] [[taskNull]]; // No task</code> |=  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 19:46, 26 March 2016

Hover & click on the images for description

Description

Description:
A non-existing Task. To compare non-existent tasks use isNull or isEqualTo:
Groups:
Uncategorised

Syntax

Syntax:
taskNull
Return Value:
Task

Examples

Example 1:
!isNull taskNull; // false
Example 2:
str taskNull; // No task

Additional Information

See also:
controlNulldisplayNullgrpNulllocationNullobjNullteamMemberNullscriptNullconfigNulltypeNameisNull

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