View Single Post
Old Feb 27th, 2006, 9:21 PM   #9
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 646
Rep Power: 4 Jessehk is on a distinguished road
Wow, we're going waaaaay off topic.

http://en.wikipedia.org/wiki/Turing_...mming_language

It is based heavily off-of pascal.

for example, here is a program that will fill an array with squares:

var numbs : array 1 .. 5 of int

function square(n : int) : int
        result n * n
end square

for x : 1 .. 5
        numbs(x) := square(x)
        put x, "x", x, "=", numbs(x) : 5
end for

Maybe it's just my personal disdain...
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
Jessehk is offline   Reply With Quote