Dilwyn Jones wrote: >>> With SBYTES you can do something like SBYTES ram1_test,address,0 >>> which >>> creates a not very useful zero length file. But if you try to LBYTES >>> it back with LBYTES ram1_test,address you get the error message 'end >>> of file' >>> >> Seems more like a statement of fact than an error msg. >> > Yes, quite right, I hadn't quite thought of it that way :-) > Absolutely not right. They is utterly no reason for an LBYTES of a zero length file to report an error. You wouldn't think it appropriate if it reported an error when asked to do a file of 5,373 bytes? Why should 0 bytes be treated as some magically special case?
It's a bug. -- Lau AS! d-(!) a++ c++++ p++ t+ f-- e++ h+ r--(+) n++(*) i++ P- m++ ASC Decoder at <http://www32.brinkster.com/ascdecode/> _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
