supportInfo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(put CBA function in notes)
Line 24: Line 24:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>supportInfo "b:select*"</pre>Returns ["b:ARRAY select SCALAR","b:ARRAY select BOOL"]|= Example 1
|x1= <pre>supportInfo "b:select*";  //Returns ["b:ARRAY select SCALAR","b:ARRAY select BOOL"]</pre> |= Example 1
 
|x2= <pre>[supportInfo ""] call cba_fnc_debug; </pre>Requires [http://dev-heaven.net/projects/cca/wiki/CBA CBA]. It creates a list of all available SQF commands in the [[arma.RPT|RPT]]. |= Example 2
 
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 37: Line 34:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on July 22nd, 2012 - 15:37 (GMT+1)
<dt class="note">'''[[User:Lou Montana|Lou Montana]]'''
<dd class="note"> trmoved the cba function
<pre>[supportInfo ""] call cba_fnc_debug;  // Requires [http://dev-heaven.net/projects/cca/wiki/CBA CBA]. It creates a list of all available SQF commands in the [[arma.RPT|RPT]].</pre>
that could lead to confusion. Use of a CBA wiki would be great.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 15:43, 22 July 2012

-wrong parameter ("Arma") defined!-1.00
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. Limited wildcard support is available. Type x may be replaced with *, meaning all types. For the mask partial match may be used, like abc*, meaning any operators starting with 'abc' are reported, for example: *:name, t:*, t:name* or *:*.
Groups:
Uncategorised

Syntax

Syntax:
Array = supportInfo mask
Parameters:
mask: String
Return Value:
Array

Examples

Example 1:
supportInfo "b:select*";   //Returns ["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

Posted on July 22nd, 2012 - 15:37 (GMT+1)
Lou Montana
trmoved the cba function
[supportInfo ""] call cba_fnc_debug;   // Requires [http://dev-heaven.net/projects/cca/wiki/CBA CBA]. It creates a list of all available SQF commands in the [[arma.RPT|RPT]].

that could lead to confusion. Use of a CBA wiki would be great.


Bottom Section