supportInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 8: Line 8:
'''Operand types:'''
'''Operand types:'''


'''mask''' [[String]]
'''mask:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''

Revision as of 17:09, 5 July 2006


supportInfo mask


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"

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 *:*.


Example:

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