Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing 4.0.0
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Laetus




PostPosted: Sun Sep 26, 2004 7:08 pm   Post subject: Turing 4.0.0

In my version of Turing, the graphics window doesn't work (it's always the same size), and all my graphics move toward the left side.
example:
code:

View.Set ("nocursor, graphics : 500 ; 500")
colourback (black)
cls
for i : 1 .. 2
    colour (i)
end for
var num : int
var row, col : int
loop
randint (num, 0, 9)
randint (row, 1, maxrow - 1)
randint (col, 1, maxcol - 1)
locate (row, col)
put num
delay (5)
end loop


In my turing, all the numbers move to the left.
Can anyone help?[/code]
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Sun Sep 26, 2004 7:15 pm   Post subject: (No subject)

code:
View.Set ("nocursor,graphics:500;500")


the reason your numbers "move" to the left side is because when you use the put command you erase everything in that row after that column.

So, your text isn't actually moving to the left side, its just that it gets erased from the left side much less often than from the right.
follow?
Laetus




PostPosted: Fri Oct 15, 2004 9:00 pm   Post subject: (No subject)

Ok. Thank you. My computer at school didn't do it that way, so it looked like something was going wrong. Thanks!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: