[fpc-devel] Issue with TBits.OpenBit

Graeme Geldenhuys graemeg.lists at gmail.com
Fri May 23 16:37:49 CEST 2008


Vincent Snijders wrote:
> Sergei Gorelkin schreef:
>> 1) Typing: TBitArray (classesh.inc line 308) is declared as array of 
>> Cardinal. It means that on 64-bit platforms it will consist of QWord's. 
> 
> No, cardinal is 32 bits on a 64 bits platform too.

Is it???
Free Pascal documentation - Chapter 3 (Types) in table 3.2 says the 
following.

Cardinal:  either word (2 bytes), longword (4 bytes) or qword (8 bytes).


Regards,
   - Graeme -


_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the fpc-devel mailing list