Label (programming language)

From Wikipedia, the free encyclopedia

A label in a programming language is a sequence of characters that identifies a location within source code. The purpose of labels is to act as the destination of a GOTO statement.

In most languages labels take the form of an identifier, often followed by a punctuation character (e.g., a colon). Some languages (e.g., Fortran, BASIC) support numeric labels.

Labels are also used to identify an entry point into a compiled sequence of statements (e.g., during debugging).

Languages