Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfcbig!diamant From: diamant@hpfcbig.SDE.HP.COM (John Diamant) Newsgroups: comp.sys.handhelds Subject: Re: Todo program Message-ID: <1010008@hpfcbig.SDE.HP.COM> Date: 18 Mar 91 21:26:39 GMT References: <1991Mar12.144908.1088@truevision.com> Organization: HP SESD, Fort Collins, CO Lines: 60 I (diamant@hpfcbig.SDE.HP.COM) wrote: > Program Id: TODO > Description: To-Do Reminder List > Programmer: David Cook - Cookware > Please let me know if you're interested in making the below changes. If not, > I will make them myself, and can send them back to you (for a repost by one > of us). I decided to go ahead and make some of the changes. I will post a new copy (ASC format) in another couple days when I finish the changes. The changes I've made so far are the following: Made the OFF key turn the calculator off while in TODO (instead of BLUE SHIFT [EXIT]) Made the [EDIT] menu key return the current text as the default value for the new text (which also makes it easy to cancel an edit simply by pressing ENTER without making any changes). Made the program font-size independent (with a table for the font sizes for the 3 builtin available fonts) and provided a binding (+ and - keys) for dynamically changing the size of the font while the program is running. I did this because the small font is good when you want lots of data, but is hard on the eyes since it's all uppercase, so I want different fonts at different times (depends on how wide the data is I'm viewing. Implemented horizontal scrolling (by character, 10 characters at a time, and beginning and end of line). I also increased the width of the GROB to 2 screens (adjustable with a local variable in the TODO directory). I also would like to change the LIST mode to be function key driven like the normal interface, but haven't implemented that yet. In addition, I'd like to trap the ATTN key using Bill Wickes IFERR routine. I'll post either when I get all the changes finished or I expect it to be awhile before I get the rest done (I'll probably post in a couple of days). > > 'W', 'S' and 'CATTEMP' are all deleted and rebuilt by the program. > I don't have my manual handy right now so I can't check this, but I think > if you use lower case letters for the local variables, they will be deleted > when the function exits thus avoiding the cleanup problem (if you need them > in several functions, this may not work for you, though). Sorry, I was confused. I withdraw the suggestion. The lower versus upper case issue is just convention. Local variables will only work if the variables are not shared between functions and they are, so they won't address this problem. John Diamant Software Engineering Systems Division Hewlett Packard Co. ARPA Internet: diamant@hpfclp.sde.hp.com Fort Collins, CO UUCP: {hpfcla,hplabs}!hpfclp!diamant This response does not represent the official position of, or statement by, the Hewlett-Packard Company. The above data is provided for informational purposes only. It is supplied without warranty of any kind. Note that I'm just a 48SX user like you -- I just happen to work for HP. I do not work in the division that makes these calculators.