goto

(redirected from go to)
Also found in: Dictionary, Thesaurus, Legal, Financial, Acronyms, Idioms, 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 classic literature ?
Amy rebelled outright, and passionately declared that she had rather have the fever than go to Aunt March.
Tom wants us to go to the opera to-night and " Fan got no further, for Polly uttered a cry of rapture and clasped her hands.
Give me, then, a ship and a crew of twenty men to take me hither and thither, and I will go to Sparta and to Pylos in quest of my father who has so long been missing.
Adam then went straight to the house from which the Stonition coach started: Stoniton was the most obvious place for Hetty to go to first, whatever might be her destination, for she would hardly venture on any but the chief coach-roads.
You know the way, you slip off quietly and go to Kingston.
Go to your room and stay there until you are ready to confess.
One could go to the cigar factory and chat with the old German who raised canaries for sale, and look at his stuffed birds.
I would gladly go to Africa--especially in this bitter weather.
I didn't want to go to school much before, but I reckoned I'd go now to spite pap.
In order to do this they resolved to go to the castle
But if I get my things packed I can go to a hotel to stay while my wife is away.
Next day he would go to the shop and appeal for forgiveness.