Brace errors are making a comeback

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • derekmorton
    5500 Post Veteran



    • Nov 1999
    • 5699
    • Eltham, Victoria, Australia.
    • ORTS

    #1

    Brace errors are making a comeback

    I have just scanned my system for brace errors, something I do from time to time.

    I found 50 files with brace errors.

    In the past brace errors have been responsible for:-

    no brakes in wagon files,
    some sounds not working in sms files,
    other strange problems.
  • R. Steele
    3500 Post Veteran

    • Feb 2013
    • 3928
    • known universe
    • ORTS

    #2
    What Utility do you use to scan for brace errors...what is your method?
    ConText will show brace errors, but it is file-by-file no scanning capabilities.
    Is it something built into coding?
    Cheers, Gerry
    "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.
    Audi, Vide, Tace, Si Vis Vivere In Pace​

    https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

    Comment

    • derekmorton
      5500 Post Veteran



      • Nov 1999
      • 5699
      • Eltham, Victoria, Australia.
      • ORTS

      #3
      I use engmod to scan for brace errors, I don't think any other utility checks for these errors.

      Comment

      • R. Steele
        3500 Post Veteran

        • Feb 2013
        • 3928
        • known universe
        • ORTS

        #4
        I have engmod, did not realize it scanned for brace errors...THANKS.
        ...bad link in your post.
        Cheers, Gerry
        "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
        It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
        Forever, ridin' drag in railroad knowledge.
        Audi, Vide, Tace, Si Vis Vivere In Pace​

        https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

        Comment

        • derekmorton
          5500 Post Veteran



          • Nov 1999
          • 5699
          • Eltham, Victoria, Australia.
          • ORTS

          #5
          Bracket check box.

          Link works for me, anybody else?

          Comment

          • R. Steele
            3500 Post Veteran

            • Feb 2013
            • 3928
            • known universe
            • ORTS

            #6
            Originally posted by derekmorton
            Bracket check box.

            Link works for me, anybody else?
            For engmod20.zip I get >>> https://www.trainsim.com/vbts/tslib....rchid=10331368


            Originally posted by slipperman
            Hi Derek,
            Your link doesn't work for me - neither does Gerry's!!
            This one works : https://www.trainsim.com/vbts/tslib....ight&fid=10461
            Cheers,
            Ged
            Curious, must be how the site is set up, Ged your link takes me directly to the download page, my link still goes to file page immediately before the download link page - description of file...Derek's still does not work for me.
            Last edited by R. Steele; 01-09-2018, 18:19.
            Cheers, Gerry
            "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
            It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
            Forever, ridin' drag in railroad knowledge.
            Audi, Vide, Tace, Si Vis Vivere In Pace​

            https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

            Comment

            • slipperman
              3500 Post Veteran



              • May 2010
              • 3787
              • Worksop, UK
              • MSOR

              #7
              Hi Derek,
              Your link doesn't work for me - neither does Gerry's!!

              This one works : https://www.trainsim.com/vbts/tslib....ight&fid=10461

              Cheers,
              Ged

              Comment

              • R. Steele
                3500 Post Veteran

                • Feb 2013
                • 3928
                • known universe
                • ORTS

                #8
                Derek, I just tried the Bracket Check function, works just fine...would you consider adding an exclude folder or folders function?
                Cheers, Gerry
                "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                Forever, ridin' drag in railroad knowledge.
                Audi, Vide, Tace, Si Vis Vivere In Pace​

                https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

                Comment

                • derekmorton
                  5500 Post Veteran



                  • Nov 1999
                  • 5699
                  • Eltham, Victoria, Australia.
                  • ORTS

                  #9
                  More information about your specific request?

                  How many file with brace errors?
                  Last edited by derekmorton; 01-09-2018, 22:58.

                  Comment

                  • Erick_Cantu
                    1000 Post Veteran


                    • Jun 2004
                    • 1041
                    • Brighton, MA 02135
                    • General

                    #10
                    And this is why notepad++ is the way to go for editing things, especially because OR won't throw a fit like MSTS did to let you know something was wrong.
                    Erick Cantu
                    North American V-Scale
                    Facebook | Email
                    Those who would give up essential liberty, to purchase a little gasoline, deserve neither liberty nor gasoline.

                    Comment

                    • derekmorton
                      5500 Post Veteran



                      • Nov 1999
                      • 5699
                      • Eltham, Victoria, Australia.
                      • ORTS

                      #11
                      While debugging the brace errors in the include file I have discovered a bug in OR.
                      When there is a problem in the inc file, OR points to the line in the eng file which points to the inc file.
                      OR needs to point to the line in the inc file with the error.
                      I need to set up the error again so I can report the bug.

                      Comment

                      • R. Steele
                        3500 Post Veteran

                        • Feb 2013
                        • 3928
                        • known universe
                        • ORTS

                        #12
                        Originally posted by derekmorton
                        While debugging the brace errors in the include file I have discovered a bug in OR.
                        When there is a problem in the inc file, OR points to the line in the eng file which points to the inc file.
                        OR needs to point to the line in the inc file with the error.
                        I need to set up the error again so I can report the bug.
                        While pursuing my adventure in "include files" I noticed the same thing...did not know enough about OR to connect the dots like you did.
                        It needs fixing because as it is --- it is an rather round-about impediment to diagnosing the problem and finding a fix.
                        Thanks Derek.
                        Cheers, Gerry
                        "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                        It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                        Forever, ridin' drag in railroad knowledge.
                        Audi, Vide, Tace, Si Vis Vivere In Pace​

                        https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

                        Comment

                        Working...