Announcement

Collapse
No announcement yet.

2792 things I hate about you

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 2792 things I hate about you

    I'm booting some SLIC code and the (last) error message I get is:

    (null) 2792 syntax error.

    I rooted out all the other errors, but this one gives me no clue where to look. I don't have 2792 lines of code.

  • #2
    2792 is the number of lines in my script.slc file.

    Comment


    • #3
      Ummm ...

      Please ignore this thread, I forgot a single close brace on my SLIC code. I spent 25 minutes trying to root this out!

      Comment


      • #4
        You're not the first one.

        Comment


        • #5
          Yup, programmer's rule #23: before you compile, count your blessings and your brackets

          (Hint: use EditPlus or some other editor that counts the brackets for you )
          Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

          Comment


          • #6
            Originally posted by Locutus
            Yup, programmer's rule #23: before you compile, count your blessings and your brackets

            (Hint: use EditPlus or some other editor that counts the brackets for you )
            Thanks for the tip, Locutus. No more counting line numbers either!

            Comment


            • #7
              ...or type the (set, quare and round) brackest first and fill them afterwards. Unfortunatly doesn't work always as there are situations you don't do it.

              -Martin
              Civ2 military advisor: "No complaints, Sir!"

              Comment

              Working...
              X