Array GetType: Difference between revisions

From MultiCharts
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns a numerical value indicating the type of the specified array.   
Returns a numerical value indicating the type of the specified array.   


==== Usage ====
== Usage ==
<syntaxhighlight>Array_GetType(ArrayName)</syntaxhighlight>  
<syntaxhighlight>Array_GetType(ArrayName)</syntaxhighlight>  


Where: [[ArrayName]] - an expression specifying the name of an array  
Where:  
:'''ArrayName''' - an expression specifying the name of an array  


==== Return ====  
== Return ==  


2 - a true/false array
2 - a true/false array
Line 14: Line 15:
7 - a double-precision numerical array
7 - a double-precision numerical array


==== Example ====
== Example ==
Assign a value, indicating the type of Array1, to Value1 variable:
Assign a value, indicating the type of Array1, to Value1 variable:



Latest revision as of 21:27, 27 February 2017

Returns a numerical value indicating the type of the specified array.

Usage

Array_GetType(ArrayName)

Where:

ArrayName - an expression specifying the name of an array

Return

2 - a true/false array

3 - a string array

7 - a double-precision numerical array

Example

Assign a value, indicating the type of Array1, to Value1 variable:

Value1=Array_GetType(Array1);