|How to refer to elements declared afterwards [message #922475]
||Tue, 25 September 2012 03:35
| Tu Do
Registered: August 2012
I have a situation like this:|
var test = true;
If (test) goto label;
//more code here.....
The problem is, I want to refer to label declared after. I know goto is advised to not use today, but in my in-house esoteric language, it's everywhere and we have to use it pretty often.
EDIT: It works now. For some reasons, when I first try the code above, it could not resolve the reference to the labels. Sorry about this topic.
[Updated on: Tue, 25 September 2012 04:02]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01767 seconds