check if handler exist before using it
Phil Davis
revdev at pdslabs.net
Fri Nov 9 15:15:47 EST 2007
Thierry wrote:
> --snip --
>
> And last but not least, the checking comes from inside an external....
>
> So, i've done a quick test, with :
> try
> get xxx()
> catch errStr
> answer errStr
> end try
>
> and I get:
> 219,3,21,xxx
> 119,3,9
> 465,3,1
>
> ????
>
> and didn't find in the Doc how to deal with these Errors numbers ?
>
Hi Thierry,
Those numbers follow the pattern Revolution uses to describe an error it
encountered. If that is the case, then one of the numbers in each line
is the line number of an error description in the cErrorsList of cd 1 of
stack "revErrorDisplay". The other numbers are the line number of the
bad line within the problem script, and char number where the bad
reference starts within the problem line of code.
HTH -
Phil Davis
More information about the use-livecode
mailing list