Re: lazyweb request for reusable menu code
- From: BLuRry <brendan.robert@xxxxxxxxx>
- Date: Sun, 25 Jan 2009 11:25:52 -0800 (PST)
On Jan 25, 1:26 am, Jonno Downes <jonno...@xxxxxxxxx> wrote:
So I was about 17% of the way through putting together a cruddy
routine to select a filename to run from an arbitrarily long list of
options, when I decided life was too short and there must be a heap of
better code written by much smarter people than I floating around. But
my google-ju aint strong enough to find it - could anyone point me at
something I could repurpose? I found a few bits and peices in AAL but
they all seemed tied too heavily to ProDOS.
What I'm after is something that takes as input a table of strings
(there may be anywhere between 4 and 100 strings in that table), and
that will present the strings as options from a menu of some sort, and
then return the index of the selected option. This code will be
running without any DOS behind it, so the only external code it can
call is the Apple II monitor ROM.
I don't really care how the display and navigation works (e.g. whether
it gives each option a letter which becomes the hotkey, or whether you
use the arrow keys to change which option is highlighted and hit enter
to confirm) or what, as long as I can get it working without too much
cussing :-)
Cheers
Jonno
Do you care if it is written in applesoft, requires 80-col and
mousetext?
-B
.
- Follow-Ups:
- Re: lazyweb request for reusable menu code
- From: Jonno Downes
- Re: lazyweb request for reusable menu code
- References:
- lazyweb request for reusable menu code
- From: Jonno Downes
- lazyweb request for reusable menu code
- Prev by Date: lazyweb request for reusable menu code
- Next by Date: Re: Custom bootloader?
- Previous by thread: lazyweb request for reusable menu code
- Next by thread: Re: lazyweb request for reusable menu code
- Index(es):
Relevant Pages
|