Author |
Message |
hgrad98
|
Posted: Mon Oct 28, 2013 5:01 pm Post subject: main menu button |
|
|
What is it you are trying to achieve?
main menu button
What is the problem you are having?
<procedures can't be in procedures
Describe what you have tried to solve this problem
read the turing "reference"
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Turing: |
<Add your code here>
|
Please specify what version of Turing you are using
4.1.1 |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Zren

|
Posted: Mon Oct 28, 2013 6:34 pm Post subject: RE:main menu button |
|
|
Quote: procedures can't be in procedures
No they can't be defined inside each other. Why not define one first, then call it inside the second? |
|
|
|
|
 |
hgrad98
|
Posted: Mon Oct 28, 2013 7:56 pm Post subject: RE:main menu button |
|
|
how would i do that? |
|
|
|
|
 |
Raknarg

|
Posted: Mon Oct 28, 2013 8:15 pm Post subject: RE:main menu button |
|
|
This is bad:
Turing: |
procedure a
doSomething ()
procedure b
doSomething2()
end b
end a
|
This is good:
Turing: |
procedure b
doSomething2 ()
end b
procedure a
doSomething ()
b
end a
|
|
|
|
|
|
 |
hgrad98
|
Posted: Tue Oct 29, 2013 4:48 pm Post subject: RE:main menu button |
|
|
ok. i have the main menu button but i cant click it in the middle of one of the procedures working on the run screen? |
|
|
|
|
 |
Zren

|
Posted: Tue Oct 29, 2013 6:39 pm Post subject: RE:main menu button |
|
|
Reword that. Be more descriptive. Post relevant code. |
|
|
|
|
 |
hgrad98
|
Posted: Tue Oct 29, 2013 6:46 pm Post subject: RE:main menu button |
|
|
ok. the main menu button is showing when i run the program, and when it is supposed to be showing, but i cant click on it. it is as though one and only one button can be clicked in the entire time the program is running |
|
|
|
|
 |
Zren

|
Posted: Tue Oct 29, 2013 6:49 pm Post subject: RE:main menu button |
|
|
Post relevant code.
Quote:
it is as though one and only one button can be clicked
Do you have more than one button? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
hgrad98
|
Posted: Tue Oct 29, 2013 8:21 pm Post subject: RE:main menu button |
|
|
actually its ok. i took away the buttons. the program wouldn't have been finished for tomorrow with them. but i just need a quit button.
i have the code written properly, and everything but it doesnt work i cant click on it |
|
|
|
|
 |
|