|
Hello....I did look up in Google the "case" statement but did not find anything that made sense to me. I am not a programmer so it was hard to follow. I did find a site that showed a little of what I know and made sense to me, but i am still lost as far as where to begin. I did see a little on making a box putting some text in it but i need EXAMPLES!
Someone out there must have done what I am trying to do! I could not find how to actually make the script work....I keep thinking in the way of DOS batch files. Just a simple sample would help and I can build on it from there. Thats how I learned it in DOS, by copying alot of examples and experimenting. What I want is something like this:
****************************************
* M A I N M E N U *
* *
* A) Packet Radio Program *
* B) Telnet *
* C) Frequency List [text file] *
* D) Radio Instruction [text file] *
* *
* Q) quit to prompt *
* *
************************* ***************
This is VERY BASIC.....and then, once this is saved as a file, how do you go about getting this menu to display and get the choices to bring up the desired program or file? Like if I press "D" I want the text file on radio instructions to display. Then when I read it, how do i return to menu? Do you have to press your letter choice and then "ENTER"? In my batch files I use errorlevels and only need to press the letter of the program/file i want. If i can figure this out, i can build it up to be better, with colors and so on.......I need step by step help if someone has the time. thanks...bob ps i know this border of stars looks a little hacked up.....there are supposed to be stars on right border! They all ended up on left. And I dont know why smily is in the way!
|