boaz_haim
13 years agoContributor
How to use a function that is declared in its own unit?
Hi,
I have a script file named A and inside a function named A.
I want to use it in another script.
I found in the site several ways to do it but nothing seems to work
I had written in the beginning //USEUNIT A
and tried to call it by its name : A();
the I tried the Runner["CallMethod"]("A")
Runner["CallMethod"](A)
but nothing worked....
am I doing something wrong?
thanks
I have a script file named A and inside a function named A.
I want to use it in another script.
I found in the site several ways to do it but nothing seems to work
I had written in the beginning //USEUNIT A
and tried to call it by its name : A();
the I tried the Runner["CallMethod"]("A")
Runner["CallMethod"](A)
but nothing worked....
am I doing something wrong?
thanks