BP compatibility

Tue, 8 Apr 1997 17:06:51 +0100 (BST)


Hi all!

Here are some more suggestions on Borland compatibility.
The following code does not compile in GPC;

Program Blah;
type
pChar = CString; { or ^Char}

Procedure DoThis(aThis : pChar);
Begin
  {blah, blah};
End;

Begin
  DoThis ('This is the day!');  
End.

The compiler does not accept the parameter as being
valid (you have to declare a pChar variable and all).
This code would compile under Borland. 

Best regards, The Chief 
Dr Abimbola A. Olowofoyeku (The African Chief, and the Great Elephant)
Author of:  Chief's Installer Pro v3.12 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