[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NEED HELP W/ SEQ. FILES



In article <8513.61.uupcb@uttsbbs.uucp>, brandon.lacava@uttsbbs.uucp (Brandon Lacava)  writes:
|> I'm writing a program that modifies text files and I need to know how to
|> load in segments of a text file (the files are too big to fit into
|> memory). I've been trying to get the MLI to do it with the OPEN ($c8),
|> and READ ($ca) commands, but have been unsuccessful. I can get the file
|> open, but it won't read from it. 

The READ command should be o.k. Did you set the Request Count in the Parameter
Block properly ? You can read parts of a file by setting these two bytes to fit 
your read buffer. Sequential READ calls allow you to read the whole files in
several chunks.

|> 
|> brandon.lacava@utts.bbs.UUCP
|>                 
|> ----

Stefan Voss
(voss@ira.uka.de)