os.pullEvent = os.pullEventRaw
print("Hello user, please select your preferred item")
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
A simpler way of doing things?
Started by Nikolai, 02 December 2012 - 04:22 PMPosted 02 December 2012 - 05:22 PM
I am making a program that will allow users to select a food/beverage and have it made and served to them. The options are Milk, coffee, baked potato and cake. Is it possible to make a list that they can navigate through with the arrow keys to select what they want, instead of having to type it in? So far all I have is this. :unsure:/>
Posted 02 December 2012 - 07:03 PM
Yes, perfectly possible. There are at least 5 menu APIs circulating around the forums, go find one and implement it.
Also don't have a meme as a form signature. Makes you look like a 5 year old.
Also don't have a meme as a form signature. Makes you look like a 5 year old.
Posted 02 December 2012 - 07:21 PM
The same can be said for a simple coding joke involving pie, which by the way, has a syntax error.Yes, perfectly possible. There are at least 5 menu APIs circulating around the forums, go find one and implement it.
Also don't have a meme as a form signature. Makes you look like a 5 year old.
People can have whatever signature they please.
Posted 02 December 2012 - 07:45 PM
take a look at my pastebin, I have 5 different menu functions there. I would advise using the basic menu function if you do not want to scroll or the advanced one if you do want to scroll, the others will just make it too complex with multiple columns etc, they are defined in the code as local functions, they were not designed to be APIs or require credit. just paste it in at the top of your code
Posted 02 December 2012 - 08:00 PM
thanks guys, I should have looked around more before I asked.
You have no idea how painful windows 8 is do you?
Yes, perfectly possible. There are at least 5 menu APIs circulating around the forums, go find one and implement it.
Also don't have a meme as a form signature. Makes you look like a 5 year old.
You have no idea how painful windows 8 is do you?
Posted 02 December 2012 - 09:09 PM
I work in public tech support. I know exactly how painful it is, and how to make up a bullsh*t letter to management saying we need hundreds of Windows 7 keys.
Posted 04 December 2012 - 07:31 AM
Within the first hour of using it I was asking myself "I wasted $30 for THIS?" Installed Ubuntu the next day, I've never looked back.
Posted 04 December 2012 - 08:23 AM
I take it that this is your graphical representation of installing Ubuntu? I'll admit, I like Ubuntu. Not enough to give up my trusty old XP entirely, but enough that I never "upgraded" past it.
Posted 05 December 2012 - 09:31 AM
Might be of use: http://pastebin.com/SfLW4rE2
Its the standard template that I use for making menu screens. Simple and flexible.
Its the standard template that I use for making menu screens. Simple and flexible.