April 14, 2003, 18:47
|
#1
|
Prince
Local Time: 23:41
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
|
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.
|
|
|
|
April 14, 2003, 18:56
|
#2
|
Prince
Local Time: 23:41
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
|
2792 is the number of lines in my script.slc file.
|
|
|
|
April 14, 2003, 18:59
|
#3
|
Prince
Local Time: 23:41
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
|
Ummm ...
Please ignore this thread, I forgot a single close brace on my SLIC code. I spent 25 minutes trying to root this out!
|
|
|
|
April 14, 2003, 19:02
|
#4
|
King
Local Time: 23:41
Local Date: November 1, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
|
You're not the first one.
|
|
|
|
April 16, 2003, 08:20
|
#5
|
Deity
Local Time: 01:41
Local Date: November 2, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
|
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  )
|
|
|
|
April 16, 2003, 10:28
|
#6
|
Prince
Local Time: 23:41
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
|
Quote:
|
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!
|
|
|
|
April 16, 2003, 12:54
|
#7
|
Super Moderator
Local Time: 01:41
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
|
...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!"
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 19:41.
|
|