Forum Discussion
HKosova
Alumni
14 years agoHi Amy,
You need to add the USEUNIT directive to the main unit:
You need to add the USEUNIT directive to the main unit:
Then, you can call routines from this unit using VBScript's Execute statement and Eval function, like this:Execute "Unit2.SubName"
result = Eval("Unit2.FunctionName")
See Calling Routines and Variables Declared in Another Unit for details.