[DUG] C code help

James Sugrue jamessugrue at xtra.co.nz
Thu Jul 13 18:59:02 NZST 2006


I know C/C++ but not at a really low level, but.

 

I think it's something like "at bit 0 store 1, at bit 1 store 0, at bit 1
store 30".

 

Someone will hopefully either verify or correct.

 

  _____  

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Ross Levis
Sent: Thursday, 13 July 2006 6:45 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] C code help

 

I have very few clues when it comes to C++.  Particularly with things like
this which appear to defy logic!  Can some one convert this to Delphi for me
please.

 

#define TAG_FIELD_FLAG_DATA_TYPE_TEXT_UTF8      (0 << 1)
#define TAG_FIELD_FLAG_DATA_TYPE_BINARY         (1 << 1)

#define APE_TAG_FLAG_CONTAINS_FOOTER            (1 << 30)

 

Or is it this?

 

const

  TAG_FIELD_FLAG_DATA_TYPE_TEXT_UTF8 = 0; 

  TAG_FIELD_FLAG_DATA_TYPE_BINARY = 1;

  APE_TAG_FLAG_CONTAINS_FOOTER = 30;

 

Thanks,

Ross.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060713/a179c54b/attachment.html


More information about the Delphi mailing list