I am taking in data with Hserin and want to start keeping the data after I see "OK" and then stop after I get "HTTP". Is there any way to make the variable "hits" a array with unknown length. I know how to make it a large fixed array ( str test8/144) but does not seem to work between two waits. Can someone tell me if this is possible


Code:
dummy VAR BYTE
Hits VAR BYTE
test8 VAR BYTE[144]

Main:
 HSERIN[WAIT ("OK"), Hits, WAIT ("HTTP"), DUMMY]
 HSEROUT [hex Hits,13]           ' Debug
 GoTo Main