Computer Science Canada Adding borders to turingoutput screens. |
Author: | toolazy12 [ Wed Jun 01, 2011 1:41 pm ] | ||
Post subject: | 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.. |
Author: | Raknarg [ Wed Jun 01, 2011 4:13 pm ] | ||
Post subject: | Re: Adding borders to turingoutput screens. | ||
You could do something like that. |
Author: | goroyoshi [ Wed Jun 01, 2011 5:56 pm ] | ||
Post subject: | RE:Adding borders to turingoutput screens. | ||
actually, there is a different way to do it in less lines, and its the proper way to do it, im in their class
just do that with all 4 movements |
Author: | toolazy12 [ Wed Jun 01, 2011 6:12 pm ] |
Post subject: | RE:Adding borders to turingoutput screens. |
in my class? and thanks a lot |