2010/4/14 Michael Van Canneyt <[email protected]>:
> Put unit2 in the implementation uses list of unit1. Then it should work.
>
> Michael.

Ohh, thank you!
It works :)

I have an other question (just to know if it is possible and how):

if I want to implement the function:

function TTest.test(x,y: integer): integer;
begin
 Result:=x+y;
end;

on Unit2, so I want to leave all things at the same place, but copy
this function on Unit2: is it possible to declare methods and
implement its on different unit?

Thanks,
Kjow

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to