Is there any way to make the variable "hits" a array with unknown length
no the array must be a predefined size, although you can stop filling it when an optional character is encountered



hserin [WAIT ("OK"),STR Hits\n{\c}]
Receive string of n characters
optionally ended in character
if c was to be 58 the var hits would fill until full or a : (chr58) is encountered

anything more would require your own routine