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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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.

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to