I am trying to include a script in my QVW during the run using a variable path. The problem I am running into is this: if I include the script outside of a subroutine, the include statement gets parsed before the variables have been initialized and it fails; on the other hand, if I put the include statement in a subroutine it appears to include successfully but when a call to a method from the included script tries to execute, it fails.
These are the two statements:
The interesting thing is that neither of these statements works if they are wrapped by a subroutine... Does anyone know if there is a different syntax for calling methods that have been included within a subroutine during the run?