Goto

goto (GOTO, GO TO or other case combinations, depending on the programming language) is a statement found in many computer programming languages. It performs a one-way transfer of control to another line of code; in contrast a function call normally returns control. The jumped-to locations are usually identified using labels, though some languages use line numbers. At the machine code level, a goto is a form of branch or jump statement.

Many languages support the goto statement, and many do not. In Java, goto is a reserved word, but is unusable. In PHP there was no native support for goto until version 5.3 (libraries were available to emulate its functionality).

The structured program theorem proved that the goto statement is not necessary to write programs; some combination of the three programming constructs of sequence, selection/choice, and repetition/iteration are sufficient for any computation that can be performed by a Turing machine.

In the past there was considerable debate in academia and industry on the merits of the use of goto statements.

Read more about Goto:  Usage, Criticism and Decline, Common Usage Patterns, Variations

Other articles related to "goto":

Choice (command) - Example
... ECHO off @CHOICE /C123 IF ERRORLEVEL 3 GOTO three IF ERRORLEVEL 2 GOTO two IF ERRORLEVEL 1 GOTO one GOTO end one ECHO You have pressed "1"! GOTO end two ECHO You have ...
Risa Goto
... Risa Goto (後藤 理沙, Goto Risa?, born June 18, 1983) is a Japanese actress and gravure idol ...
Afurechau... Be In Love
... Be In Love?) is Maki Goto's second single ... A remixed version of the song is featured of Goto's first album Makking Gold 1, titled "Afurechau.. ... is featured on her first compilation album Goto Maki Premium Best 1 ...
Goto, Island Of Love - Cast
... Pierre Brasseur - Goto Ligia Branice - Glossia Jean-Pierre Andréani - Gono Ginette Leclerc - Gonasta Fernand Bercher - L'instituteur / Professor ...
Stargazing - Common Techniques - GoTo Telescopes
... GOTO telescopes have become more popular since the 1980s as technology has improved and prices have been reduced ... For example, GOTO telescopes tend to be faster for locating items of interest than star hopping, allowing more time for studying of the object ... GOTO also allows manufacturers to add equatorial tracking to mechanically simpler alt-azimuth telescope mounts, allowing them to produce an overall less expensive product ...