[DUG] C code help

Ross Levis ross at stationplaylist.com
Thu Jul 13 18:44:57 NZST 2006


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/5729c657/attachment.html


More information about the Delphi mailing list