-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation for labels #770
Comments
How is this an issue? It's already implemented and working, just not documented in CBot manual I think. |
http://i.imgur.com/h4VRsle.png |
I refuse to accept the existance of labels and I am not going to document them in any way, what is more, I strongly suggest to remove them from CBOT before some poor soul thinks it is a good idea to use them. The last time someone used labels a satellite crashed. |
@MrSimbax Those are Java-style labels which don't work like C labels. Their purpose is similar but they are used differently. In CBot you can only label loop statements and you can only use them with break and continue inside that loop block in order to directly break multiple levels of loop nesting. You can't use them to jump between different sections of code. This is better and safer than C equivalent because it doesn't break program structure and flow. I used it in some of my programs. There is no reason to remove this feature and I suggest we keep it. |
Ooooooooooh, ok then, sorry for my ignorance. |
Okay, got these tabs on their places, so can I push it in such form, or there is something I should change before? |
I think this should be renamed to "Missing documentation for labels" because the feature appears to be implemented |
Also works with continue;
The text was updated successfully, but these errors were encountered: