Anything: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
A variable of type '''Anything''' may be of any [[:Category: Data Types|data types]] '''or''' [[Nothing]]. | A variable of type '''Anything''' may be of any [[:Category: Data Types|data types]] '''or''' [[Nothing]]. | ||
{{Feature|warning|Even though some commands list data type '''Anything''' as possible value, passing [[nil]] ([[Nothing]]) to a command might cause it not to work.}} | {{Feature|warning| | ||
Even though some commands list data type '''Anything''' as possible value, passing [[nil]] ([[Nothing]]) to a command might cause it not to work: | |||
<sqf>str nil; // while the documentation for str states it takes Anything, nil / Nothing will cause it to not execute.</sqf> | |||
}} | |||
== See Also == | |||
* [[nil]] | |||
* [[isNil]] | |||
* [[Nothing]] | |||
[[Category: Magic Types]] | [[Category: Magic Types]] |