Hi,
it is poosible to overwirte an existing array in the programme?
Or it is possible to Reset an Array to 0?
Is there any command to do this?
I am using a CR850 Datalogger.
Thank you for your support!
Best Regards
* Last updated by: DanH on 5/27/2011 @ 8:15 AM *
Public ArrayOne(3) = {0,0,0}
or
Public ArrayTwo(3)
BeginProg
ArrayTwo(1) = 0
ArrayTwo(2) = 0
ArrayTwo(3) = 0
EndProg
or
Public ArrayThree(3)
Dim I
BeginProg
For I = 1 To 3
ArrayThree(I) = 0
Next I
EndProg
or
Public ArrayFour(3)
BeginProg
'move zeros into each of the three indices
Move (ArrayFour(),3,0,1)
EndProg
Tahnk you Sam,
I tried the For Loop, it works very good.
Thanks for your support.
Best Regards