Forum Discussion

mcastellanos's avatar
Occasional Contributor
9 years ago

Call using USEUNIT in vbscript does not work

I have function1(param1) defined in script Unit1 and I want to call function1(param1) from script Unit2. Thus, I have done the following according to documentation:   'In Unit2 script, did '''''''...
  • Colin_McCrae's avatar
    9 years ago

    There is something about naming conventions for USEUNIT calls which I can't quite recall?


    Hang on ....


    Got it.



    (The second bullet point)


    If the function name and unit name are the same, the call will only work if prefixed with the unit name. Sounds like whats happening to you.