Transfers control to the desired location
Used when it is otherwise impossible to transfer control to the desired location using conventional constructs.
The goto statement transfers control to the location, specified by Template:sparam. The goto statement must be in the same function as the Template:sparam it is referring. If goto statement transfers control backwards, all objects, that are not yet initialized at the Template:sparam are destructed. It is not allowed to transfer control forwards if doing so would skip initialization of an object.
|This section is incomplete|
Reason: no example