Hello,
I havn't found much info on arrayread, but
I would like to use arrayread on an array of about 1000. The maxlength max val is 256, and when I tried leaving off the maxlength, if the "wait" is not found, the routine runs-off-the-end and infact crashes out the program.
Code:
ParseSUB: 'InDX must be < 256
b6=0:B7=0
arrayread rcvdata, INDX,NONE, [wait("RUN")]:b6=1
NONE:arrayread rcvdata, INDX,NONE1, [wait("STOP")]:b7=1
NONE1: RETURN
This works well if index < 256. Is there a way to do the same parse for longer arrays ?
Don
amgen
Bookmarks