View Single Post
  #5 (permalink)  
Old 05-02-2005, 01:34 PM
Bruce Roberts
Guest
 
Posts: n/a
Default Re: Assigning Variables at runtime?


"Damfino" <fxengelbrecht@gmail.com> wrote in message
news:1114873330.937136.230690@g14g2000cwa.googlegr oups.com...

> 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.


Reply With Quote