I'm using a structure to read some data from a binary file, having the record format of the data inside the file.

all is working fine for text data, but on the record format I have:

chars 10 to 12 - date (day/month/year, expressed as a binary-coded decimal number)

I'm using a text field on the structure to read this, because only reading as a string I can specify the number of chars to read, but I'm quite confused about trasforming this chunk of binary data in an integer.

thank you,

      Giulio
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to