Fill Array: Difference between revisions
From MultiCharts
Dev.goodde (talk | contribs) (→Usage) |
Dev.goodde (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
<syntaxhighlight>Fill_Array(ArrayName,Value)</syntaxhighlight> | <syntaxhighlight lang="pascal">Fill_Array(ArrayName,Value)</syntaxhighlight> | ||
Where: | Where: | ||
Line 12: | Line 12: | ||
Assign a value of True to each element of Array1: | Assign a value of True to each element of Array1: | ||
<syntaxhighlight>Fill_Array(Array1,True);</syntaxhighlight> | <syntaxhighlight lang="pascal">Fill_Array(Array1,True);</syntaxhighlight> | ||
[[Category:Dynamic Arrays]] | [[Category:Dynamic Arrays]] |
Revision as of 14:53, 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);