[DUG] C code help

Alister Christie alister at salespartner.co.nz
Fri Jul 14 09:40:28 NZST 2006


Would not the best method be to cut some C++ code and see what happens?  
This would be surely better than debating what the outcomes might be.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 



Ross Levis wrote:
> 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
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>   


More information about the Delphi mailing list