Thread Tools
Old April 14, 2003, 18:47   #1
ahenobarb
Prince
 
ahenobarb's Avatar
 
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.
ahenobarb is offline  
Old April 14, 2003, 18:56   #2
ahenobarb
Prince
 
ahenobarb's Avatar
 
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.
ahenobarb is offline  
Old April 14, 2003, 18:59   #3
ahenobarb
Prince
 
ahenobarb's Avatar
 
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!
ahenobarb is offline  
Old April 14, 2003, 19:02   #4
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
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.
Peter Triggs is offline  
Old April 16, 2003, 08:20   #5
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
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 )
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old April 16, 2003, 10:28   #6
ahenobarb
Prince
 
ahenobarb's Avatar
 
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!
ahenobarb is offline  
Old April 16, 2003, 12:54   #7
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
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!"
Martin Gühmann is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 19:41.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team