Board index » delphi » Delphi doesn't let me read files the way I want
mjsmi...@hotmail.com (Mark Smigel)
![]() Delphi Developer |
Tue, 27 Sep 2005 02:48:29 GMT
Delphi doesn't let me read files the way I want
What is the de-facto method for handling typed files where the
record lengths and variables are unpredictable (i.e. dependent on the content)? For example, you can't define something like this......... TMyFileData = record However I don't know of any way to just go in and do......... as Delphi always wants a fixed structure of some kind. Do I have to just read one byte at a time and assemble my variables This seems a bit stupid as Perl is not fussy over reading whatever MJ |