Hi,
How can I call a function with parameter record in another
unit?
For example:
TGrUser = record
Name : string [20];
Descr : string [100];
R1 : boolean;
end;
function fGrUser(sS:string;writeUser: TGrUser);
begin
...
end;
If I call the function in the unit1 where is create type record and function it work; if I call the function from unit2 I have the message error:
"E2010 incompatible types ...".
The type record from unit2 is declarated in unit2.
bye
ObiWanKby