On 22 Feb 2005 at 17:01, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
On 22 Feb 2005 at 3:19, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
It seems that MaxLongint is declared twice in system.pas (once by importing from the GPC unit, and once by explicit declaration). I think one of them should go.
The imported one is renamed:
import GPC (MaxLongInt => GPC_MaxLongInt);
So the explicit declaration is valid (and necessary if BP types sizes are wanted).
Did you get an error about it?
Yes - about "bad import" and "redeclaration of `MaxLongint'". But the problem happened becauses of mixing "import" and "uses", which I have now changed.
Did you import/use both `GPC' and `System', or what did you do?
The program used a combination of "units" and "modules", involving "uses system" and "import gpc" respectively. So I changed the modules to units and did away with the "import gpc".
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/