Programming Help by Programmers hub

BCPL Code Example

BCPL is a Basic Combined Programming Language. It is a Procedural, Imperative and structured programming language designed in 1966 by Martin Richards of the University of Cambridge. BCPL is an extension of the CPL language cosider from the Basic CPL where C stood for the university cambridge. BCPL was the first brace programming language. BCPL is the language in which the original "hello world program" was written. The First Multi user dimension MUD was also written in BCPL Language.

BCPL Code Example


        FOR I = 1 TO 5 DO
                WRITEF("%N! = %I4*N", I, FACT(I))
        RESULTIS 0

AND FACT(N) = N = 0 -> 1, N * FACT(N - 1)
Pict Programming Language

On Web