Forum Discussion
Jackson_L
14 years agoContributor
Hello,
I don't think the Call statement would affect it as it should be used when calling procedures with arguments. As no arguments are being passed, the Call statement can be left out.
I'm not sure your issue is related to calling functions between scripts. Can you test by either commenting out the line that calls the function to script B, or copy the script B function into script A and see what the outcome is.
Usually if you get an error message like that, doesn't it tell you which line the error occurs on? When you create 'object' are you using the Set keyword?
Also, you start Script A with 'USEUNIT CheckCurrentAllergiesForItem, is this meant to be there?
Cheers,
Jackson
Related Content
- 7 years ago
- 4 years ago
- 7 years ago
Recent Discussions
- 4 hours ago