Turing    hoch http://www.holtsoft.com/turing/introduction.html
 
  Beschreibung: Turing is a general purpose programming language designed for the convenient development of reliable, efficient programs. A descendant of Pascal, Turing is specifically designed to be easy to learn, to have a concise and expressive syntax, graceful and effective treatment of errors, effective control of program complexity, a mathematically precise language definition, and a small, fast implementation. It is particularly well suited to support computer science education.


  Fakultät   James R. Cordy
function fac (n : int)
    if n > 1 then
        result n * fac (n - 1)
    else
        result 1
    end if
end fac

put fac (6)
Berechnet die Fakultät. Ergibt 720.


 Hello World   James R. Cordy
put "Hello World"
Gibt "Hello World" auf dem Bildschirm aus.


 Squares   James R. Cordy
for i : 1 .. 10
    put i * i
end for
Gibt die Quadrate von 1 bis 10 aus.