I am having trouble copying from one array to another.
if I do this it works:
Code:
array1 VAR BYTE [30]
CopyMe VAR BYTE[30]
For I = 0 to 29
array1[I] = CopyMe[I]
Next I
If I try this it does not work:
Code:
Arraywrite Array1, [CopyMe\30]
OR
Arraywrite Array1, [CopyMe]
I have even tried
Code:
ARRAYWRITE Array1, 30, [CopyMe]
And
Code:
ARRAYWRITE Array1, [STR CopyMe\30]
But these result in compile errors or in the later example, code not functioning correctly.
What am I missing with the Arraywrite command?
ARRAYWRITE ArrayVar, length, label, [data]
???
Thanks
Bookmarks