The GOTO keyword.


Well, I have resisted adding goto for a whole year. But tonight I have had a couple of beers and I am ready to go for it. It must be said that most programmers will claim that goto is never required and I dont have reason to disagree, but you may like to differ.

goto syntax

	goto lab1;

	lab1:

goto allows the program to 'jump' to a named label, in this case lab1, the target label MUST be terminated with a : (colon).


An Example.

goto example.


Top Master Index Keywords Functions


Martin Leslie