Jump label

from Wikipedia, the free encyclopedia

Jump label (anchor) is the reference point within a program or document in some areas of EDP .

Jump labels in programming

In the programming and scripting languages Anchor links occur. They represent an address within the program code.

Its use is controversial because it makes the program flow unmanageable. In object-oriented programming , every goto command can be replaced by other control structures , such as the loop (see also label and jump instructions ).

Jump labels are indispensable in debugging (the troubleshooting and analysis of program code), whereby program processes can be stopped, started or examined more precisely at certain points.

Jump labels of data development

Jump marks are a reference point within a document. A typical example would be the linking of a subheading with the table of contents. If you follow the reference in the table of contents , the document jumps to the corresponding anchor point, be it HTML (for more information see under Anchor ), a word processing program (in text documents, the term bookmark is also used analogously to the jump label ), or the web browser .

In addition to addressing headings , jump labels are also used for the respective pages of a document (as they arise, for example, from the automatic text wrap "by itself") and their headers , the control of footnotes , cross-references and directories of all kinds, or for embedded images, Tables and other illustrations.

The jump labels are typically coded in the URL coding #and separate the document address from the name attached to the jump address. An example would be the URL http://de.wikipedia.org/w/index.php?title=Sprungmarke#Sprungmarken_der_Datenerschliessungon the heading of this section of the Wikipedia article, or http://de.wikipedia.org/w/index.php?title=Sprungmarke#Textmarkeon the HTML anchor placed next to it. Most word processing programs also use the URL syntax for internal coding in order to keep the jump labels generally accessible.