To access text-files, Delphi has standard Read, ReadLn and Write, WriteLn functions to perform low level I/O. I would like to know if it is somehow possible to perform these operations on text-files using streams. Imagine this:
Int1, Int2: Integer;
Now you can probably tell me that this is impossible to have Int1=Int2. I know that. But is there any way to treat stream object as text file (TTextStream)?
I need this feature because Iam forced to handle very old text-files and cannot modify their format and still use capabilites of streams.
Thanks in advance. Ivo.