|Re: HP42S directories?|
Message #4 Posted by Christof (Davis, CA) on 8 Oct 2002, 6:18 p.m.,
in response to message #3 by Vieira, Luiz C. (Brazil)
Luiz- I'd hardly worry about posting too much. I've never found any of your posts annoying. Far from it, they are generally helpful or thought provoking.
For the directories, I haven't been directly using the custom menu, since I'm using a library approach. the "library" is an executable program, such as
(misc stuff here, I use a tone for an audio clue as to which of the 3 curren tlibraries I'm entering)
KEY 1 GTO 03
KEY 2 GTO 04
KEY 3 GTO 05
KEY 6 GTO 99
KEY 7 GTO 02
KEY 8 GTO 01
So each entry will GTO a locally labelled program instead of a globally labelled one, no big deal there.
for the next level, I start with a "variable menu" where you can input all the values for any of the programs in this level. directly executing a program works fine instead, but in my case, I have a need for a lot of variables that will get reused (like binomial distrobution, mean, and sdev)
KEY 1 XEQ "a"
KEY 2 XEQ "b"
KEY 5 GTO 10
KEY 6 GTO "LIBX"
(this option takes you back to the beginning of the library. GTO 00 does the same thing without the pre-00 stuff like tones)
(note that I *do* reuse these local variable names for each sublibrary function set! Paying attention to the search order is what makes that work for me. I've got 6k of programs in one library right now, and standardizing these calls is the only way I have been able to keep track)
Next comes the menu for the actual programs
KEY 1 XEQ "A"
KEY 2 XEQ "B"
KEY 5 GTO 03 (the previous level)
KEY 6 GTO "LIBX" (return to beginning)
this drasitcally reduces the number of programs to scroll through in the program menu, but doesn't do a thing for the variable menu. those still pile up.
I haven't pulled off any super tricks in this yet, but I'm looking for something that will work better and take less space. Even 32K can go fast this way.