[DUG] C code help
Ross Levis
ross at stationplaylist.com
Thu Jul 13 20:25:00 NZST 2006
Just to clarify, in a word value, the Binary flag would be 0100 Hex, or 256 decimal, is that correct?
Ross.
----- Original Message -----
From: Ross Levis
To: NZ Borland Developers Group - Delphi List
Sent: Thursday, July 13, 2006 8:17 PM
Subject: Re: [DUG] C code help
> So TAG_FIELD_FLAG_DATA_TYPE is a one-bit flag stored in the 2nd-rightmost bit of the word, and its possible values are TEXT_UTF8 (value 0) and BINARY (value 1).
I see. Thanks for that.
Cheers,
Ross.
----- Original Message -----
From: Brian Wrigley
To: NZ Borland Developers Group - Delphi List
Sent: Thursday, July 13, 2006 7:32 PM
Subject: Re: [DUG] C code help
That's the bitwise shift-left operator. So, 0 shifted left 1 bit is still zero, 1 shifted left 1 bit is 2. 1 shifted left 30 bits would be (hex) 40000000.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060713/89b33389/attachment-0001.html
More information about the Delphi
mailing list