.jpg)
goto statement
Sign in to saveAlso known as GOTO, GO TO, go to, unconditional jump, goto
thumb|right|upright|"GOTO" key on the 1982 ZX Spectrum home computer, implemented with native [[BASIC (one-key command entry).]]
Wikidata facts
- Image
- GOTOkey(ZXSpectrum).jpg
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/goto
Sources (2)
via Wikidata · CC0
~22 min read
Article
18 sectionsContents
- Language support
- Computed and assigned{{anchor |computed-goto}}{{anchor |assigned-goto}}
- ALTER
- Perl goto
- Emulated goto
- PL/I label variable
- Examples
- Criticism<!--'Go To Statement Considered Harmful' redirects here-->
- More accepted patterns
- Alternatives
- Structured programming
- Exception handling
- Tail call
- Coroutine
- Continuation
- See also
- Notes
- References
thumb|right|upright|"GOTO" key on the 1982 ZX Spectrum home computer, implemented with native [[BASIC (one-key command entry).]]
In computer programming, goto is a control flow statement that transfers control to another line of source code. Unlike a function call that supports returning to the point of call, goto does not. The statement is denoted differently by programming language; some use lowercase (), some use uppercase (), and others are case-insensitive. A few languages make the statement two words (i.e. ).