Everyone has their personal preferences for organizing their homes, rooms, offices, etc. - even the directories and files on personal computers. I am a neat freak and like things to be highly organized. The way in which the directories and objects on my HP-50G are organized makes it easy for me to locate important things.
I like every directory from HOME on down to be organized like this: alphabetically with directories first and all other objects afterwards.
I like programs to clean up after they are run by making sure that the flags are restored to their pre-run state and I want the VAR menu to always be displayed.
I'm also an automation freak. On my Linux workstations, I have a collection of useful scripts that I wrote that make working with the system very easy. Likewise so for my HP-50G, I have written a series of useful programs that keep things organized the way I like them.
Here is a program I wrote (that resides in HOME) to relist all directories and objects to my liking. I'm posting it here so others may find usefulness with it too...
<<
"Relisting the Directory..." 1. DISP
{} DUP 'xA' STO 'xB' STO
VARS OBJ-> 1. SWAP
START
DUP 1. ->LIST SWAP VTYPE
IF 15. ==
THEN xA + 'xA' STO
ELSE xB + 'xB' STO
END
NEXT
xA SORT xB SORT + ORDER
{xA xB} PURGE 2. MENU
>>
'ReList' STO
I have it in the HOME's CST list, so it can run in any subdirectory and clean up whatever is the "current" directory.
P.S. Nobody is perfect, so I welcome suggestions for improvement.
Edited: 12 Nov 2009, 2:20 p.m.