
-----------------------------------
Tubby_Kat
Wed May 13, 2009 3:24 pm

Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
What is it you are trying to achieve?
I have a menu, but I don't know how to make the menu disappear on the run window when I chose a choice.


What is the problem you are having?
I don't know how to just get one action on the screen at once so the run window won't be filled too much.

Describe what you have tried to solve this problem
I seriously don't know where to start.

Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)

This is just an example of a menu with basic options.



var answer : int

loop
    put ""
    put "THE MENU"
    put "========"
    put ""

    put "Choose an option: "
    put "       1. To see my favourite class "
    put "       2. To see my favourite animal"
    put "       3. To exit"
    put ""
    put ""

    put "CHOICE ===> " ..
    get answer
    put ""
    put ""

    if answer = 1 then
        put "Math"
    elsif answer = 2 then
        put "Tiger"
    end if
    exit when answer = 3
end loop




I want the answer and menu to show seperately and the other disappear

ex. first the run window has the menu
after the option in selected then just the answer in on the window

Please specify what version of Turing you are using
4.1

-----------------------------------
Zren
Wed May 13, 2009 3:29 pm

Re: Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
cls - Clears the screen.

-----------------------------------
Tubby_Kat
Wed May 13, 2009 3:43 pm

Re: Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
how could I write that down in code, is it just in one line?
My help on turing doesn't work, so if you could paste that info it would be appreciated

-----------------------------------
Tubby_Kat
Wed May 13, 2009 3:50 pm

Re: Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
NEVERMIND
I get it. I can't believe how dumb I was. -____________- 
-sigh-

THANKS

-----------------------------------
tjmoore1993
Wed May 13, 2009 4:33 pm

Re: Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
NEVERMIND
I get it. I can't believe how dumb I was. -____________- 
-sigh-

THANKS

I know the problem has been solved but no one in this forum is an idiot. We all come here to help or ask questions so don't feel the need to call yourself stupid because remember this one thing... We were in your position at least once in our lives.

If you are unsure about how commands work you can go to

www.compsci.ca/holtsoft/doc

-----------------------------------
ecookman
Wed May 13, 2009 9:20 pm

RE:Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
trust me..i had the same problem too when i started....and i have missed things that are so obvious it isn't funny


everyone makes mistakes...its what being human is all about

-----------------------------------
Tubby_Kat
Sun May 17, 2009 9:47 am

Re: Need help on a turing program!! How to make only one option/output appear on the turing run window at a time @_@
-----------------------------------
NEVERMIND
I get it. I can't believe how dumb I was. -____________- 
-sigh-

THANKS

I know the problem has been solved but no one in this forum is an idiot. We all come here to help or ask questions so don't feel the need to call yourself stupid because remember this one thing... We were in your position at least once in our lives.

If you are unsure about how commands work you can go to



Thanks tjmoore! I'll use the website for any command needs in the future.
