`Word' data type et al._(re)
Wed, 18 Jun 1997 12:01:03 +0100 (BST)
On Tue, 17 Jun 1997 16:13:12 +0200 Frank Heckenbach
wrote:
>
>The African Chief wrote:
>
>> In bpcompat's GPCTYPES unit, I have this;
>>
>> {$ifdef _Borland_16_Bit_}
>
>Is this defined by default in your unit?
No. The definition is commented out (with a dot before the "$")
> (Otherwise it might be confusing for BP->gpc programmers.)
BP->GPC programmers (like me) may want BP syntax support,
but not necessarily want to use 16-bit data structures instead
of the default ones. It is quite easy to remove the dot.
>> Type
>> Single = __short__ Real;
>> Double = Real;
>> Extended = __long__ Real;
>> ShortInt = __byte__ Integer;
>> LongInt = Integer;
>> Comp = __longlong__ Integer;
>> Integer16 = __short__ Integer;
>> Word = __unsigned__ Integer16;
>> {$endif _Borland_16_Bit_}
>
>Don't forget:
>
>Byte = __unsigned__ Shortint;
I believe that "Byte" is the same in GPC and BP, and so
it doesn't need to be redefined for 16-bit BP.
Best regards, The Chief
Dr Abimbola A. Olowofoyeku (The African Chief, and the Great Elephant)
Author of: Chief's Installer Pro v3.60 for Win16 and Win32.
Homepage: http://ourworld.compuserve.com/homepages/African_Chief/
E-mail: laa12@cc.keele.ac.uk
The African Chief (laa12@cc.keele.ac.uk)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es