Daniele Terdina wrote: > here are the details of how Q-emuLator stores files on the native file system: > > QL files have a special piece of information associated with them, called the > ‘QDOS file header’. > The header stores such information as the file name and whether the file is > an executable program. > Q-emuLator stores part of the header at the beginning of files. The header is > present > only when it is useful, ie. only if it contains non-default information. > The header has the following format: > > OFFSET LENGTH(bytes) CONTENT > 0 18 “]!QDOS File Header“ > 18 1 0 (reserved) > 19 1 total length_of_header, in 16 bit words > 20 length_of_header*2-20 QDOS INFO
Question: how do you handle the case when a user wants to list a huge directory. Do you open every single file, check if there's a header and close it again? Cheers, Marcel _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm