Excellent, thanks.

 

I'm working on the "endianness" of the data right now... are there any
shortcuts to this?

 

Nick

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Kennedy
Sent: Monday, July 17, 2006 10:11 AM
To: [email protected]
Subject: Re: [delphi-en] mapping C varialbes to Delphi

 

Long, Nicholas wrote:
> The binaries were created with Sun/Unix... and I now know that the
vars
> are all 4 bytes, but a mix of float and int. So which variables do I
> need in Delphi to read them/

Delphi's four-byte signed integer type is LongInt. The four-byte 
floating-point type is Single. Beware of the endianness of the values in

your data file.

-- 
Rob

 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to