fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Undeclared compiler

    Questions & Answers
    2
    6
    558
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      coverman last edited by

      I get this error when trying to compile my file:

      'vsl' - undeclared identifier
      'vtp' - undeclared identifier

      It's for this part:
      {
      if (USE VIRTUAL STOPS) {
      sl = vsl;
      tp = vtp;
      }

      What do I need to do to make it work?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Which project is this? I tested your newest 3 projects and they can be compiled.

        1 Reply Last reply Reply Quote 0
        • C
          coverman last edited by

          I changed the name to CompileTest (easier to find).
          It's when I have to add #property strict to the header. Then the error shows up.

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            I fixed this

            1 Reply Last reply Reply Quote 0
            • C
              coverman last edited by

              Great, like always. What did you do? Fix something in the main code or is it soemthing I have to look for next time?

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                I moved the definition of vsl and vtp up, before the loop. This is in a function called OrderCreate()

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                Online Users

                R
                F
                S
                D

                21
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors