Comments after [branch] declarations cause errors (V2)
Posted: Thu Apr 07, 2016 7:48 am
Including a comment after a [branch] 'declaration causes a branch not found error (ESP Basic 2.0.Alpha 7).
Eg:
udpbranch [udpmsg]
[udpmsg] ' All broadcasted msgs come here
results in "UdpBranch line not found!"
Or:
goto [DoSomething]
[DoSomething] 'Just do it, pretty please
results in "ERROR Branch not found:[DoSomething]"
It's not a critical bug in as much as the comment is easily omitted, or inserted above or below the [branch] declaration... once you know!
But if you don't know, and you are using the branch comments to try to track down branching errors, it induces profanity and eventual insanity (dribble, dribble).
Eg:
udpbranch [udpmsg]
[udpmsg] ' All broadcasted msgs come here
results in "UdpBranch line not found!"
Or:
goto [DoSomething]
[DoSomething] 'Just do it, pretty please
results in "ERROR Branch not found:[DoSomething]"
It's not a critical bug in as much as the comment is easily omitted, or inserted above or below the [branch] declaration... once you know!
But if you don't know, and you are using the branch comments to try to track down branching errors, it induces profanity and eventual insanity (dribble, dribble).