2 Replies Latest reply: Oct 18, 2016 6:42 AM by Peter Cammaert RSS

    For Next script line error

    Seth Rosenbauer

      I have a subroutine that takes in a date range(Month, vMinDay, vMaxDay)

       

           For i = vMinDay to vMaxDay

       

                //load a bunch of stuff

           next

      end sub

      call sub(08, 09, 09)

       

      Everything loads correctly, but every-time the script hits the "next" statement I get a script line error. Thanks in advance for the help!!