If you want to reference subroutines or functions in other
.bas files, there are several options. This can be a good way to track common groups of code you want to reuse and easily update.
To reference subroutines and functions in a stand-alone file
Use the following in your script:
The path to the file can be an absolute path or a path relative to the AWR Project file in which you are working. The disadvantage to this approach is that you cannot debug into any referenced functions.
To reference subroutines and functions in another script loaded in the SDE for that type (Global or Project)
using the following in your script:
Notice a few differences. There is no path to the file. You use a "*" before the name. You do not use the
.bas extension for the file.
NOTE: You cannot reference items in a Project level script in Global scripts, nor items in a Global level script in Project scripts.