Computed goto
Go-to variant that selects the jump target based on the value of a numeric expression—a primitive form of switch/case.
Computed goto was introduced in Fortran to implement case-based dispatch without explicit if-chains. The programmer specified a list of possible destinations and an expression whose value determined which target was used. For example, "computed goto L10, L20, L30 based on I" would jump to L10, L20, or L30 depending on the value 1, 2, or 3 in variable I. This was elegant for its time but was quickly replaced by block structure and modern switch/case statements in later languages. Fortran retains the construct for backwards compatibility.