[lazarus] calling a procedure from another pas file

LeVA leva at az.isten.hu
Fri Dec 26 05:49:06 EST 2003


Hi!

First of all, Merry Christmas to everyone :)

Now my question :)

I have a procedure (let's say test_proced) in my main.pas file, and I 
can call it from there, and it works. I have another pas file, called 
test.pas. I want to call the test_proced procedure from that test.pas. I 
have added this under the test.pas's implementation section:

uses main;

Now I can use main.pas's variables, but still can not call that procedure.

How can I do this?

Thanks!

Daniel

--
LeVA






More information about the Lazarus mailing list