supportInfo

From Bohemia Interactive Community
Revision as of 17:05, 5 July 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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"]