1,501
edits
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
< | <syntaxhighlight>Array_Compare(SourceArray,SourceIndex,DestinationArray,DestinationIndex,NumberOfElements)</syntaxhighlight> | ||
Where: | Where: | ||
:'''SourceArray''' - an expression specifying the name of the source array | :'''SourceArray''' - an expression specifying the name of the source array | ||
Line 31: | Line 30: | ||
Assign a value, indicating the result of comparing two-element segments, of Array1, beginning at the index of 4, and of Array2, beginning at the index of 6, to Value1 variable: | Assign a value, indicating the result of comparing two-element segments, of Array1, beginning at the index of 4, and of Array2, beginning at the index of 6, to Value1 variable: | ||
<syntaxhighlight>Value1=Array_Compare(Array1,4,Array2,6,2);</syntaxhighlight> | <syntaxhighlight>Value1=Array_Compare(Array1,4,Array2,6,2);</syntaxhighlight> | ||
Assign a value, indicating the result of comparing two-element segments that begin at the index of 4 and at the index of 6 within the same array, to Value1 variable: | Assign a value, indicating the result of comparing two-element segments that begin at the index of 4 and at the index of 6 within the same array, to Value1 variable: |