Re: Assigning Variables at runtime?
"Damfino" <firstname.lastname@example.org> wrote in message
> I'm a newbie to Delphi, and newsgroups so please be patient. I have
> problem that has me stumped. It's as follows:
> I have a binary file containing blocks of 194 bytes of data. Each block
> starts with a 2 byte SyncVar of 01101001, so I can easily extract the
> 194 bytes. The problem comes in that the actual structure of the data
> can (and will) be different from file to file. What I would like to do
> is define the structure in a text file, and then at runtime apply that
> structure to the binary file question.
A tClientDataSet or tDataSet derivative may be a reasonable solution
depending on your skill level and the program requirements.