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

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




PostPosted: 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
Sponsor
sponsor
Zren




PostPosted: 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




PostPosted: Mon Oct 28, 2013 7:56 pm   Post subject: RE:main menu button

how would i do that?
Raknarg




PostPosted: 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




PostPosted: 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




PostPosted: Tue Oct 29, 2013 6:39 pm   Post subject: RE:main menu button

Reword that. Be more descriptive. Post relevant code.
hgrad98




PostPosted: 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




PostPosted: 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
Sponsor
sponsor
hgrad98




PostPosted: 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
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  [ 9 Posts ]
Jump to:   


Style:  
Search: