+1 888 340 6572

Fill Array: Difference between revisions

From MultiCharts
No edit summary
Line 2: Line 2:
   
   
== Usage ==
== Usage ==
<source lang="JavaScript">Fill_Array(ArrayName,Value)</source>  
<source>Fill_Array(ArrayName,Value)</source>  


Where:  
Where:  

Revision as of 13:40, 28 October 2019

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);