Click to See Complete Forum and Search --> : Error message


marshall_73
08-09-2003, 02:56 PM
Hi,

When an error-message pops up, it says wich line and wich character is wrong, but my question is:

Where do I start counting, and do I have to count empty lines and spaces etc.???

Sorry for this stupid question but I really have no clue, and I'm always having a hard time searching for the errors.

Thanx,

M.

AdamGundry
08-09-2003, 03:13 PM
I'm pretty sure you start counting at the first line of the appropriate file (either HTML or included JS), counting blank lines and spaces.

I find it a lot easier, however, to use a Javascript debugger such as Venkman (comes free with Mozilla), which shows line numbers. Alternatively, get a line-numbered text editor. Otherwise, an "error on line 1106" message means...you get the picture.

Adam

marshall_73
08-09-2003, 03:16 PM
Originally posted by AdamGundry
Otherwise, an "error on line 1106" message means...you get the picture.

Adam

I get the picture, you will be busy for a looooooong time :D

Thanx for the answer.

Gr. M.