typeName: Difference between revisions
Jump to navigation
Jump to search
m (reset arma ver) |
(expanded) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns type | | Returns the [[:Category:Data Types|data type]] of expression. | ||
Type is returned as string |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |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 06:18, 11 January 2007
Description
- Description:
- Returns the data type of expression. Type is returned as string
- Groups:
- Uncategorised
Syntax
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