Thanks for all this help, I did discover the way to set up an array of combuf(50) but then found my input may hit large lengths, so went to combuf(90) even though that may still be a bit short.....

I tried a for z=1 to 90 :serin: next z but if I get a short stream it waits for ever.

I added a timeout so that was a fix.


It seems I can watch for a set pair of bytes and then store after that, but once again the lenght is sometimes above what I can store and I miss the end.

I have tried to use the SKIP command in conjunction with waitin, but I have not hit the right syntax for it yet.

I have found this a problem with the pb manual again and again, no examples of correct command syntax, well it has examples, but not a 'real' worked example.

Zaks Z80, now THAT was a manual.