Results 1 to 9 of 9

Thread: SYNTAX ERROR - Size Line -- Need your help with editing this error

  1. #1
    Join Date
    Jun 2005
    Location
    Peterborough, ON, Canada.
    Posts
    1,156

    Question SYNTAX ERROR - Size Line -- Need your help with editing this error

    I am not sure how to correct the syntax error that I ran through Conbuilder. Here is below:

    [SYNTAX ERROR - Size Line]

    The engine file with the name SD40.ENG in the folder

    J:\1MSTS\TRAINS\TRAINSET\SD40

    The error was found on this line: Size ( 10ft 15ft+10in 65ft+1m )

    Problem: This format will cause ORTS to display gaps between the items in a consist.

    Solution: Change the format of the data for example: "3ft+6in" to "3.5ft" or
    change it to "1.07m".


    Go here for a converter to use.

    http://www.cagetwork.com/cagcvtftin2meterscalc.html

    Have anyone here in this forum try this to edit the size? Or just use CONTEXT to edit one line with the error?

    Let me know about this.

    John

  2. #2
    Join Date
    May 2010
    Location
    Worksop, UK
    Posts
    1,908

    Default

    Hi John,
    Where did you get that loco from??!!!

    Just change the line, using any Unicode-aware text editor, so that it contains three single measurement values in either feet or metres, like the default SD40-2 : Size ( 3.1m 4.768m 20.7m )

    By the way - your link doesn't work!

    Cheers,
    Ged

  3. #3
    Join Date
    Jun 2005
    Location
    Peterborough, ON, Canada.
    Posts
    1,156

    Default

    Ged,

    Sorry for the misspelling of the link and here is the right link below:


    http://www.csgnetwork.com/csgcvtftin2meterscalc.html



    Now you ask me where do I get that loco and it's from MSTS SD40. And you have SD40-2 but that is not the one -- SD40.


    Thank you,

    John

  4. #4
    Join Date
    Nov 1999
    Location
    Chippenham, Wiltshire, UK.
    Posts
    6,784

    Default

    The SD40 is the original default non drivable engine. Just do as Ged suggests and replace the sd40 size with the one from the SD40-2. Size will not be quite correct, but the syntax error will be no more.
    Beer is not a matter of life or death, it is much more serious than that.

  5. #5
    Join Date
    May 2010
    Location
    Worksop, UK
    Posts
    1,908

    Default

    Hi John,
    WOW!! I don't think I've ever looked at that loco's file before!!

    Thanks for the corrected link

    Cheers,
    Ged

  6. #6
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    591

    Default

    I don't need the converter - I just ask Alexa
    http://www.atomic-album.com/showPic.php/80489/WWCo.jpg

  7. #7
    Join Date
    Jun 2005
    Location
    Peterborough, ON, Canada.
    Posts
    1,156

    Default

    What is Alexa? I am not familiar with this word, " Alexa ". Sorry for asking.

    John

  8. #8
    Join Date
    Nov 1999
    Location
    Huntsville, AL
    Posts
    4,186

    Default

    Quote Originally Posted by cn bala View Post
    What is Alexa? I am not familiar with this word, " Alexa ". Sorry for asking.

    John
    Alexa is Amazon's Siri. Siri is Apple's Cortina. Cortina is Microsoft's Hey Google. Hey Google is Android's Bixby. And Bixby is Samsung's Alexa.

    Alexa
    is Amazon’s cloud-based voice service available on over 100 million devices from Amazon and third-party device manufacturers. .

    Siri

    is a virtual assistant that is part of Apple Inc.'s iOS, iPadOS, watchOS, macOS, tvOS and audioOS operating systems.

    Cortana
    is a virtual assistant created by Microsoft for Windows 10, Windows 10 Mobile, Windows Phone 8.1, Invoke smart speaker, Microsoft Band, Surface Headphones, Xbox One, iOS, Android, Windows Mixed Reality, and Amazon Alexa.


    Last edited by crstagg; 06-27-2019 at 10:16 PM.
    Charles

  9. #9
    Join Date
    Jun 2005
    Location
    Peterborough, ON, Canada.
    Posts
    1,156

    Default

    Thank you Charles for your helpful explanation above and got it now in my head to remember.

    John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •