
-----------------------------------
toolazy12
Wed Jun 01, 2011 1:41 pm

Adding borders to turingoutput screens.
-----------------------------------
What is it you are trying to achieve?
I need to add a border to a turing program screen. Theres a rectangle, and you can move it with arrow keys. however, its possible to move the square out of theoutput screen. I have no idea how to set up the borders

Describe what you have tried to solve this problem
I've tried to put up an if structure but it hasn't been any helps..


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I'm really sorry its so long, I dont know how to attach a code..







Please specify what version of Turing you are using
The most recent..

-----------------------------------
Raknarg
Wed Jun 01, 2011 4:13 pm

Re: Adding borders to turingoutput screens.
-----------------------------------

if x >= maxx then
     x = maxx
elsif x = maxy then
     y = maxy
elsif y 