Hi all,
I have the following types declaration
type
LongIntRA = array [1..1] of LongInt;
LongIntp = ^LongIntRA;
.
.
.
Procedure test;
var
lLongRA: LongIntp; Pos: Longint;
Begin
.
.
.
lLongRA[1] := Pos;
.
.
.
End;
When I complie, I got the following error
Error: Incompatible types: got "LongInt" expected "LongIntRA"
This code was accepted by D6... Any advise? And why?
Thanks & best regards,
M. Hammady
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives