IT lexicon › Programming › Fixed-format

Fixed-format

Programming På svenska → Updated: 2026-11-13

Fortran code where column positions determine how statements are interpreted — every character must be in the right place.

In FORTRAN 77 and earlier, source code was divided into fixed columns: columns 1–5 for labels, 6 for continuation, 7–72 for code. A stray space could break the program. This came from punched-card era, where each card had physically fixed positions. The shift to free-format in FORTRAN 90 finally made the language readable.

← Back to the lexicon