Re: C-ISAM
Posted in 1992
In article 641576@cix.compulink.co.uk, shemminga@cix.compulink.co.uk (Stuart Hemming) writes: > >Can anyone out there tell me what the definitions of LONGTYPE and >INTTYPE are from the Informix C-ISAM manual (Chapter 3)? > >-------------------------------------------------------------- >| Who cares whos opinions these are?! | >| Send me mail and I'll love you forever (Maybe) | >|------------------------------------------------------------| >| Stuart Hemming | shemminga@cix.compulink.co.uk | >| Tudor Labels Ltd | uunet!cix.compulink.co.uk!shemminga | >| Roman Bank Bourne | Tel : (+44) 778 426444 | >| Lincs PE10 9LQ. UK. | Fax : (+44) 778 421862 | >-------------------------------------------------------------- > > >Stuart >|8-) According to the CISAM Programmers Manual: Cisam C-Langauge Size mnemonic Size CHARTYPE char -- -- INTTYPE int INTSIZE 2 LONGTYPE long LONGSIZE 4 FLOATTYPE float FLOATSIZE sizeof(float) DOUBLETYPE double DOUBLESIZE sizeof(double) DECIMALTYPE -- -- -- Note that C-ISAM integers always take two bytes, regardless of the internal representation of an integer on your machine. CISAM does not change the representation of float and double data types. You should consider using the CISAM DECIMALTYPE data type, as an alternative if you want complete machine independence. don simon dsimon@informix.com