Difference between revisions of "Array GetType"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value indicating the type of the specified array. ==== Usage ==== <syntaxhighlight>Array_GetType(ArrayName)</syntaxhighlight> Where: ArrayName - a...")
 
 
(3 intermediate revisions by 3 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
 +
 
3 - a string array
 
3 - a string array
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);