Array IndexOf: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
Where: | Where: | ||
:'''ArrayName''' - an expression specifying the name of an numerical/string/ | :'''ArrayName''' - an expression specifying the name of an numerical/string/boolean array. | ||
:'''Value''' - a numerical/string/ | :'''Value''' - a numerical/string/boolean expression specifying the value to search for. | ||
==Example== | ==Example== | ||
Assign an index of value 4 to Value1 variable in the numeric array Array1: | Assign an index of value 4 to Value1 variable in the numeric array Array1: | ||
<syntaxhighlight>Value1=Array_IndexOf(Array1,4);</syntaxhighlight> | <syntaxhighlight>Value1 = Array_IndexOf(Array1,4);</syntaxhighlight> | ||
[[Category:Dynamic Arrays]] | [[Category:Dynamic Arrays]] |