[Site Home] [Forum Home] [Articles] [File DB] [News Archives]

Programming -> turing


(View original topic)


draddog - Nov-30-2004 server time
here use this


for x:1..99999
put x:5," . ",x**x
end loop


Furball - Oct-10-2004 server time
Wow, just go counted loop. You won't even need to declare a variable for this function. Let's see if I can remember turing:

For i: 1..10
i ** 2
End For

Basically, it's just taking the value of the counted loop and squaring it. All you need is locate (row, col) to make it look nice.

FaZoNiCa - May-04-2004 server time
Oooh...we did that like, just yesterday!! Well, something similar anyway.

Where are you trying to get the numbers to stay? In columns you mean?

Like, here's what I did:

for I: 0..10
locate (RowI, ColI)
put NumI
ColI:=ColI+6
for J: 0..10
locate (4, ColI)
put "x*x"
locate (RowI, ColI)
put NumI**2
end for
ColI:=ColI-6
NumI:=NumI+1
RowI:=RowI+1
end for

Please don't copy it!! But I hope that helps to answer your question.

Red Squirrel - Apr-07-2004 server time
Yeah quite funny. em320.gif

sintekk - Apr-07-2004 server time
You go to google, type in Turing Help, Iceteks is the first result. Strange, considering there can't be more than 6 posts here related to that tongue.gif

Red Squirrel - Apr-07-2004 server time
Yeah turing is a pretty old language so not allot of us know it. But in my spare time I might learn it so I can help everyone out, since we seem to be ranked high on google with turing-related keywords. laugh.gif It looks fairly easy to program with compared to C++ and php, and php is pretty easy as well.

paulbian - Apr-07-2004 server time
go to http://www.compsci.ca/mx for turing help, it has a more active turing forum.

hawks2488 - Apr-07-2004 server time
[B]k.. i have a problem i have to make a table with the numbers and their squares starting at one going down

like this
1. 1
2.4
3.9
4.16
i need ur assistance i cant get hte numbers to stay how would i set up a varible to do so

(Showing 50 last posts, newest on top)