It turns out that Erl works, but it only gives the label nearest to the incriminated line of code. And that's not all: it has to be a strictly numerical label. For example
traptheerror:
dim a as integer
a = "nope"
doesn't work
10:
dim a as integer
dim c as string
a = "nope"
works, but it's not that clear. This one is even better (and I recommend this to make it so)..
10 dim a as integer
20 dim c as integer
30 a = "nope"
Shades of the early eighties, maybe that's why it wasn't clearly mentioned in the official docs. But one shouldn't use a decade old IDE anyway..
No comments:
Post a Comment