Page 1 of 1
turing
Posted: Wed Apr 07, 2004 8:34 am
by Anonymous
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
Archived topic from Iceteks, old topic ID:2229, old post ID:18770
turing
Posted: Wed Apr 07, 2004 7:52 pm
by Anonymous
go to
http://www.compsci.ca/mx for turing help, it has a more active turing forum.
Archived topic from Iceteks, old topic ID:2229, old post ID:18776
turing
Posted: Wed Apr 07, 2004 8:07 pm
by Red Squirrel
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.
It looks fairly easy to program with compared to C++ and php, and php is pretty easy as well.
Archived topic from Iceteks, old topic ID:2229, old post ID:18777
turing
Posted: Wed Apr 07, 2004 8:45 pm
by sintekk
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
Archived topic from Iceteks, old topic ID:2229, old post ID:18778
turing
Posted: Wed Apr 07, 2004 8:52 pm
by Red Squirrel
Yeah quite funny.
Archived topic from Iceteks, old topic ID:2229, old post ID:18779
turing
Posted: Tue May 04, 2004 4:55 pm
by FaZoNiCa
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.
Archived topic from Iceteks, old topic ID:2229, old post ID:19458
turing
Posted: Sun Oct 10, 2004 10:20 pm
by Death
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.
Archived topic from Iceteks, old topic ID:2229, old post ID:22439
turing
Posted: Tue Nov 30, 2004 11:20 am
by Anonymous
here use this
for x:1..99999
put x:5," . ",x**x
end loop
Archived topic from Iceteks, old topic ID:2229, old post ID:23482