Page 1 of 1

error position

Posted: Sun Mar 27, 2005 12:12 am
by Dreglor
when I get errors in debug mode it just gives me a line some times that can be difficult to see exactly is wrong on that line.
how about adding in the position on the line as well
like
Error on line 94, position 43

Re: error position

Posted: Sun Mar 27, 2005 2:05 am
by PB
I assume you're using multiple commands on one line? :) It saves space doing
so, but one command per line is supposed to be the "optimal" way to code, for
this very reason (makes it much easier to pinpoint the faulty command).

Posted: Sun Mar 27, 2005 7:38 pm
by Dräc
Yes! For example: for an error on a function, to point to the wrong argument (the more general facture, it’s to indicate the position on the line).
It’s easier to analysed, but it’s not a priority for the current PB evolution, in my point of view…