World Library  
Flag as Inappropriate
Email this Article

Label (programming language)

Article Id: WHEBN0029249474
Reproduction Date:

Title: Label (programming language)  
Author: World Heritage Encyclopedia
Language: English
Subject: Sed, Label (disambiguation), Control flow, Reserved word, PILOT, TI-BASIC, Euler (programming language), COMEFROM, List of Java keywords, Structured program theorem
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Label (programming language)

A label in a programming language is a sequence of characters that identifies a location within source code. In most languages labels take the form of an identifier, often followed by a punctuation character (e.g., a colon). In many high level programming languages the purpose of a label is to act as the destination of a GOTO statement.[1][2] In assembly language labels can be used anywhere an address can (for example, as the operand of a JMP or MOV instruction).[3] Also in Pascal and its derived variations. Some languages, such as Fortran and BASIC, support numeric labels.[4] Labels are also used to identify an entry point into a compiled sequence of statements (e.g., during debugging).

See also

References

  1. ^ C Standard section 6.8.6.1 The goto statement
  2. ^ "GOTO Statement QuickSCREEN". Microsoft. 1988. Retrieved 2008-07-03. 
  3. ^ O. Lawlor. "nasm x86 Assembly". Retrieved 2008-07-03. 
  4. ^ "Differences Between GW-BASIC and QBasic". 2003-05-12. Retrieved 2008-06-28. 
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.