supportInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SUPPORTINFO]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|SUPPORTINFO]]
____________________________________________________________________________________________
 
 
<h2 style="color:#000066">'''supportInfo ''mask'''''</h2>
 
 
'''Operand types:'''
 
'''mask:''' [[String]]
 
'''Type of returned value:'''
 
[[Array]]
 
'''Compatibility'''
 
Version 2.00 required.
 
'''Description:'''
 
Creates a list of supported operators and type.


Each field of array has the format: "x:name"
| ofp |= Game name


Where x can be:
|1.00|= Game version
____________________________________________________________________________________________


| Creates a list of supported operators and type. Each field of array has the format: "x:name" Where x can be:
*'t' - type
*'t' - type
*'n' - null operator
*'n' - null operator
*'u' - unary operator
*'u' - unary operator
*'b' - binary operator.
*'b' - binary operator.
'name' is the operator or type name (in case operator, type of input operands is included).
`mask` parameter can be an empty string, or one of field. In this case, function returns empty array, if operator is not included in the list. `mask` can contain wildcards, for example: *:name, t:*, t:name* or *:*. |= Description
____________________________________________________________________________________________


| '''supportInfo''' mask |= Syntax


'name' is the operator or type name (in case operator, type of input operands is included).
|p1= mask: [[String]] |= Parameter 1


| [[Array]] Compatibility Version 2.00 required. |= Return value
____________________________________________________________________________________________
 
|x1= <pre>supportInfo "b:select*" .... result is ["b:ARRAY select SCALAR","b:ARRAY select BOOL"]</pre> |= Example 1
____________________________________________________________________________________________


`mask` parameter can be an empty string, or one of field.
|  |= See also


In this case, function returns empty array, if operator is not included in the list.
}}


`mask` can contain wildcards, for example: *:name, t:*, t:name* or *:*.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SUPPORTINFO]]
'''supportInfo''' "b:select*" .... result is ["b:ARRAY select SCALAR","b:ARRAY select BOOL"]
[[Category:Scripting Commands ArmA|SUPPORTINFO]]

Revision as of 00:54, 2 August 2006

Hover & click on the images for description

Description

Description:
Creates a list of supported operators and type. Each field of array has the format: "x:name" Where x can be:
  • 't' - type
  • 'n' - null operator
  • 'u' - unary operator
  • 'b' - binary operator.
'name' is the operator or type name (in case operator, type of input operands is included). `mask` parameter can be an empty string, or one of field. In this case, function returns empty array, if operator is not included in the list. `mask` can contain wildcards, for example: *:name, t:*, t:name* or *:*.
Groups:
Uncategorised

Syntax

Syntax:
supportInfo mask
Parameters:
mask: String
Return Value:
Array Compatibility Version 2.00 required.

Examples

Example 1:
supportInfo "b:select*" .... result is ["b:ARRAY select SCALAR","b:ARRAY select BOOL"]

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