typeName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (reset arma ver)
(expanded)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns type-name of expression. Type is returned as string |= Description
| Returns the [[:Category:Data Types|data type]] of expression.  
 
Type is returned as string |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>typeName "hello", result is "string"</pre> |= Example 1
|x1= <pre>_x="hello"; typeName _x, result is "string"</pre> |= Example 1
|x2= <pre>_x=player; typeName _x, result is "object"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:18, 11 January 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the data type of expression. Type is returned as string
Groups:
Uncategorised

Syntax

Syntax:
typeName any
Parameters:
any: Anything
Return Value:
String

Examples

Example 1:
_x="hello"; typeName _x, result is "string"
Example 2:
_x=player; typeName _x, result is "object"

Additional Information

See also:
See also needed

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