Difference between revisions of "Fill Array"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Assigns a specified value to each element of the specified one-dimensional array. ==== Usage ==== <syntaxhighlight>Fill_Array(ArrayName,Value)</syntaxhighlight> Where: [[...")
 
Line 1: Line 1:
 
Assigns a specified value to each element of the specified one-dimensional array.  
 
Assigns a specified value to each element of the specified one-dimensional array.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Fill_Array(ArrayName,Value)</syntaxhighlight>  
 
<syntaxhighlight>Fill_Array(ArrayName,Value)</syntaxhighlight>  
  
Where: [[ArrayName]] - an expression specifying the name of an array  
+
Where:  
 +
:'''ArrayName''' - an expression specifying the name of an array  
 
              
 
              
[[Value]] - a value to be assigned to each element of the array  
+
:'''Value''' - a value to be assigned to each element of the array  
 
   
 
   
==== Example ====
+
== Example ==
 
Assign a value of True to each element of Array1:  
 
Assign a value of True to each element of Array1:  
  

Revision as of 21:32, 27 February 2017

Assigns a specified value to each element of the specified one-dimensional array.

Usage

Fill_Array(ArrayName,Value)

Where:

ArrayName - an expression specifying the name of an array
Value - a value to be assigned to each element of the array

Example

Assign a value of True to each element of Array1:

Fill_Array(Array1,True);