I have a file which is open in the fileOpDestructiveReadMode and I want to
split it up into several regular 32K sized Palm records using FileDmRead.
This is easy.

The trick is that I want to split it up into approximately 32K sized records
so that the split happens exactly which we have a space character "chrSpace"
within 32K plus at most 100, or, if not, then we split it at exactly 32K.

Is this doable? How? I must have fileOpDestructiveReadMode.

I see one rather cumbersome solution. 1st spilt it up into 32K records and
then adjust the records which are not split exactly at space characters.

Is there a more elegant way of doing it? How could I read ahead and the
rewind if I am in fileOpDestructiveReadMode?

Thanks! Best regards, Paul

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to