diff --git a/language/control-structures/goto.xml b/language/control-structures/goto.xml index 68f930ce53..041fe56b5b 100644 --- a/language/control-structures/goto.xml +++ b/language/control-structures/goto.xml @@ -1,5 +1,5 @@ - + <literal>goto</literal> @@ -9,7 +9,7 @@ followed by a colon, and the instruction is given as goto followed by the desired target label. This is not a full unrestricted goto. The target - label must be within the same context, meaning that you cannot jump + label must be within the same file and context, meaning that you cannot jump out of a function or method, nor can you jump into one. You also cannot jump into any sort of loop or switch structure. You may jump out of these, and a common use is to use a goto