Re: Programming with menus


[Prev][Next][Index][Thread]

Re: Programming with menus



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you are using the Menu( command then you need nothing after it...

The Menu command goes by labels (although I recommend a label BEFOR the
Menu command to make sure you can get back to it once executed), it takes
you to whatever label is associated with the chosen item automatically

Lbl A
Menu(....)
Lbl 1
..
Goto A
Lbl 2
..
Goto A
Lbl 3
..
Goto A

If you are using the GetKey to get a keypress from the system you must use
If/Then statments to choose which to go to. (  -> is the stored as button)


GetKey -> A
If A = ... :Then
..
End
If A = ... :Then
..
End

etc....

You can also use the GetKey to program a subroutine that does a menu
similar to the TI-82 menu (I personally like those better in some
situations) where you have a list and use arrow keys to select the item but
that is more involed and I've never actually cared enough to mess with it.

- -----Original Message-----
From: Matt Roode <mattroode@HOTMAIL.COM>
To: CALC-TI@LISTS.PPP.TI.COM <CALC-TI@LISTS.PPP.TI.COM>
Date: Sunday, May 28, 2000 12:46p
Subject: Programming with menus


I am a beginning programmer who learns by doing.  I am writing a program on
a TI-86 involving menus.  I can't get my program to get past the point
where I select a menu item.  I do that and then I do not know what to put
as a next command line after that.  If you can help out a beggining
programmer, please do.  Thank you.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
Comment: http://members.xoom.com/mrcyman/pgp.html

iQA/AwUBOTG/hWs/si9n+BFxEQIvtQCdGsERZFR9wvZNXPh8uA81/dfJQdcAnjKH
0vkrdCe82t/TKhU92WKBtkyX
=WCvA
-----END PGP SIGNATURE-----

******************************************************************
* To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
* with a message (not the subject) that reads SIGNOFF CALC-TI
*
* Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
******************************************************************