The last time I ever posted anything was over 2 YEARS AGO. It seems like ages.
Well, I'm not gone, and here I have my latest NXT project.
This is for NXT Games makers. It generates simple menus
that are displayed on the NXT's screen, and it's TOTALLY customizable.
SECOND: How to Use1.
Download the file, and in the program you want the menu
to be in, enter #include ArrayMenu.nxc at the top line. Also,
you need to make 3
variables (NAME THEM ANYTHING):
string MenuItemsThatYouWant["Run", "About", "Help", "Exit"]; //You can have unlimited menu items here. Type whatever
string TitleOfTheMenu = "My Menu";
In your code where you want the menu to be, type this:
OptionWasSelected = ArrayMenu(string MenuItemsThatYouWant, string TitleOfTheMenu, NumberOfTheItemSelected)3.
That's it! Just try it out on a demo program. Please comment
and tell me any issues/suggestions you have.