goto


Also found in: Dictionary, Thesaurus, 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 ?
Mr Goto's mother Junko Ishido said yesterday: "My son's last act was to go to Syria to help a fellow Japanese.
To summarize, I believe the GOTO statement is not intrinsically bad, but when programmers become accustomed to using them, they tend to try to code programs directly, rather than spending a little extra time analyzing the problem to find a better solution (the "deeply nested mess of code" found in some GOTO-less programs suffers from the same problem).
GoTo.com alleged that the Go Network logo would confuse consumers.
While the influenza strain studied by Goto and Kawaoka has undergone extensive changes as a result of being grown in the laboratory for decades, researchers suspect that viruses in the wild may also employ neuraminidase.
These two tables, called action table and goto table, are sparse tables.
Goto, 63, to succeed him due to his high regard by seniors and subordinates, according to reports.
The police will question Goto on suspicion of negligence as his car went over a 25-centimeter-high median strip into the other lane, they said.
From Categories, select Record Navigation, and from Actions, select Goto First Record as in exhibit 14, page 35, and click on Next.
HIROKI GOTO has his first rides on his latest visit to Britain when he partners Srda and Jira for Clive Brittain at Newbury, writes Tony Elves.
Its new Orion SkyQuest GoTo Dobsonian series adds Go To capabilities to the popular XT line of telescopes.
Half Worldis the fifth novel by award-winning Canadian author Hiromi Goto. Its pages are beautifully illustrated by Jillian Tamaki, who is best known for her excellent work on the graphic novel Skim.