SA-MP Forums Archive
How do they know what line is the error coming from? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: How do they know what line is the error coming from? (/showthread.php?tid=394625)



How do they know what line is the error coming from? - JaKe Elite - 23.11.2012

I saw some few scripters already know where the line is coming from without asking for the code.

Example is

Max_Coldheart's post (Deleted Account) he helped someone he just post

"Deleted the "Error Problem" in the Line "Let's say number" 50

How they know the line error?


Re: How do they know what line is the error coming from? - RXservers - 23.11.2012

Line number is shown in error message.

Example:
Quote:

C:\..\..\script.pwn(104) : error 010: invalid function or declaration

The error is on 104th line.

EDIT: I'm not sure is this what you are asking for.


Re: How do they know what line is the error coming from? - Vince - 23.11.2012

Because it states the line number in the error message? Experienced coders can also identify and solve certain error immediately.


Re: How do they know what line is the error coming from? - Markā„¢ - 23.11.2012

Obviously through observation.


Re: How do they know what line is the error coming from? - M3mPHi$_S3 - 23.11.2012

@Mark same but did'nt get you clearly