[lazarus] calling a procedure from another pas file

LeVA leva at az.isten.hu
Sat Dec 27 07:30:50 EST 2003


LeVA wrote:
> 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

Should I explain more precisely what is my problem, or this is not 
possible with lazarus/fpc?

> 
> -- 
> LeVA
> 
> _________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>   archives at http://www.lazarus.freepascal.org/mailarchives
> 


-- 
LeVA






More information about the Lazarus mailing list