I think, Marcel has answered...it doesn't work.
Cheers...Ralf
----- Original Message -----
From: "gdgqler"
Does anyone know if there is a way to open a direct sector access
channel from SBASIC to a non PC FAT formatted hard disk such as a
Q60 formatted compact flash card. I have tried to do this with
errt=FOP_DIR(#4,dos4_). While FOP_DIR returns 0 suggesting success
the device as seen has a dimension of 0, so that INPUT#4,a$ get an
end of file error message.
Does the error just mean that there is no LF in the file? I have taken
to testing for a final LF before reading files with INPUT. Instead you
might try Turbo TK code's INPUT$ which reads a specific number of
characters from the channel. and so does not rely on LF.
George
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm