Hallo peter@agnes.dida.physik.uni-essen.de ... Du hast am 13.06.97 eine Nachricht zum Thema `Word' data type geschrieben - Selbst schuld wenn ich jetzt auch schreibe.
PG>Hello, everybody! Hi PG>I noticed a lot of confusion about Integer types in GNU Pascal. PG> bits signed unsigned C equivalent PG> 8 ByteInt Byte [unsigned|signed] char PG> 16 ShortInt ShortWord [unsigned] short PG> 32 Integer Word [unsigned] int == long PG> 64 LongInt LongWord [unsigned] long long PG>(BTW: The number of bits is the same on all platforms, isn't it?) PG>I was told more than once that `Word' should have 16 bits (like in PG>Borland Pascal). I made it 32 bits because this is the "natural" It could be depend on the Compilerswitches? (there's a --borland-pascal switch?) then it's the same as BP; 8bit shortint byte 16bit integer word 32bit longint (longword) + 64bit (hugeint) (hugeword) ? advantage: BP programms can be compiled more identically. (maybe someone uses specific type to swap sign by adding.... %-) PG>behaviour. In this case I would appreciate suggestions how to rename PG>all GPC Integer types above (which I wouldn't like to do because I find PG>the above quite consistent). I like the above, too - it's nearly the same as it was defined here before GPC learned about the types... PG>Greetings, PG> Peter
Chris Chris
-- C.WENDT@CHATEAU.LINE.ORG - HOME BBS: CHATEAU :+49(0)8677 911940 (V.34) Gestern hab ich wieder mit Spatzen auf Kanonen geschossen 911941 (ISDN)
## CrossPoint v3.11 ##