IT lexicon › Programming › Subprogram

Subprogram

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

A named, self-contained part of a program that can be called from the main program or other parts.

Subprogram is Fortran's term for what we now call a function or procedure. They make it possible to break a large program into smaller, reusable pieces. Fortran used the keyword CALL to invoke them. This was a major step toward modularity. Subprograms often share data through Common Blocks.

← Back to the lexicon