Thanks for those comments.

Any idea why this line won't compile?

Code:
HSERIN [WAIT($AA), str DATAIN\11]		'Receive 11 bytes into array DATAIN
I want it to wait until a $AA appears before filling the array.

I've tried square brackets, round brackets no $ etc etc!!!!!

I get two errors bad expression and expected ]