goto


Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Wikipedia.

goto

(programming)
(Or "GOTO", "go to", "GO TO", "JUMP", "JMP") A construct and keyword found in several higher-level programming languages (e.g. Fortran, COBOL, BASIC, C) to cause an unconditional jump or transfer of control from one point in a program to another. The destination of the jump is usually indicated by a label following the GOTO keyword.

In some languages, a label is a line number, in which case every statement may be labelled, in others a label is an optional alphanumeric identifier.

Use of the GOTO instruction in high level language programming fell into disrepute with the development and general acceptance of structured programming, and especially following the famous article "GOTO statement considered harmful". Since a GOTO is effectively an assignment to the program counter, it is tempting to make the generalisation "assignment considered harmful" and indeed, this is the basis of functional programming.

Nearly(?) all machine language instruction sets include a GOTO instruction, though in this context it is usually called branch or jump or some mnemonic based on these.

See also COME FROM.

Goto

 

an archipelago off the western coast of Kyushu, Japan. Part of the Nagasaki Prefecture, the archipelago includes more than 30 islands and an area of 645 sq km. The most important islands are Fukue (up to 30 km long) and Nakadori. The maximum elevation is 429 m. The climate is humid subtropical. There are rice paddies and tea and mulberry plantations, as well as fisheries. The principal towns in the Goto archipelago are Arikawa, Fukue, and Tomie.

goto

(1) In a high-level programming language, a statement that directs the computer to go to some other part of the program. Low-level language equivalents are "branch" and "jump."

(2) In dBASE, a command that directs the user to a specific record in the file.

(3) In word processing, a command that directs the user to a specific page number.
References in periodicals archive ?
Foreign Secretary Philip Hammond said: "The apparent murder of Kenji Goto is a further demonstration of Isil's contempt for human life.
Goto was brought in as a last-minute substitute for Stefan Jackiw, who had been scheduled to play tonight's concert originally but had to cancel due to a "treatable injury" that wasn't otherwise explained.
The murder-for-insurance case occurred between the two incidents on which Goto has been sentenced to death, leading his lawyers to say that he should therefore be retried.
If Yabuki is convicted, Goto would lose his seat under the election law's guilt-by-association clause even if the lawmaker is not directly involved in the offence.
and his colleagues have sequenced about half of the neuraminidase gene from samples of the 1918 strain, including the areas highlighted by Goto and Kawaoka's work.
I agree that the GOTO-less solutions are not much better than the GOTO version, but at least they attempt to find the structure of the problem and are reasonably easy to understand.
Goto is a fellow of IEEE and a member of the Engineering Academy of Japan.
The audio tape message implied that the Jordanian pilot would not be part of the exchange deal, indicating any swap would be between Goto -- a veteran war reporter -- and al-Rishawi.
She begged Mr Abe to work with the Jordanian government to try to save Mr Goto, saying: "Kenji has only a little time left.
Japan has been seeking Jordan's help in attempting to free Goto particularly since an IS video released at the weekend said another Japanese hostage, Haruna Yukawa, had been beheaded.
His fate was thought to be tied to that of Goto after a video was released on Tuesday purporting to show the Japanese national saying he had 24 hours to live unless Jordan released Sajida Rishawi.
Goto is being tried separately at the court on similar charges.