Hi Dilwyn,

> INPUT #channel,t$ should fetch a string from a file. Indeed it does
> unless the buffer is not large enough for the size of string. QLib's
> default input buffer is 128 bytes like a JM or AH rom and can be
> enlarged with a $$buff command on post-JM systems. Trouble is, if the
> string is longer than the buffer it ought to give a 'buffer full'
> error message which could be trapped with a Q_ERR_ON 'input'
> statement, instead the compiled program just locks up.

I have ran into the same trouble years ago and reported that to Ian, but got 
no answer. It seems to be a fact, that a buffer overflow error is not 
watchable in QLib in any way. I never had success with this.

Cheers...Ralf R. 

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to