1 Reply Latest reply: Apr 15, 2013 12:12 PM by Benjamin Tippin RSS

    Include statement script issue

      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:

         $(Include=$(Config_Root)\myScript.qvs)

          $(Include=..\Data\Config\myScript.qvs);

       

      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?

       

      Thanks in advance!

       

      --Ben