HP Forums
Undocumented 50g shortcuts ? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Undocumented 50g shortcuts ? (/thread-189111.html)



Undocumented 50g shortcuts ? - Glenn Shields - 07-29-2011

After being inspired by the 50g AUR shortcut listing, I stumbled upon a 'feature' which I can't find in the AUR or user's guide or anywhere else:
in the EQW, enter a fraction (like 2/(3+4)), highlight either the numerator or denominator, then press L.S. followed by either R.A. or
L.A. and the fraction flips, with the highlighted part still hightlighted. Then, select the 3 or 4 alone. Now these keystrokes will reverse them (3 + 4 becomes 4 + 3, highlight remaining). Also, another shortcut which I read on some post (where?) that in a 3D plot
window, using TOOL and NEXT will rotate the plot around a 3rd axis not
available using the four arrow keys alone.
Does anyone know where, if at all, these features may be mentioned?
Thanks in advance, Glenn in West LA


Re: Undocumented 50g shortcuts ? - George Litauszky - 07-29-2011

There are lot of shortcuts in the 48G UM too.

Note:
I discovered that in a 3D plot window I can to enlarge and reduce the plot's size with the "+" and "-" buttons.


Re: Undocumented 50g shortcuts ? - Glenn Shields - 07-29-2011

Thanks, that is nice.


Re: Undocumented 50g shortcuts ? - Glenn Shields - 08-04-2011

One more thing, the 50g remains so interesting, and "deep" as Tim Wessman said in his recent Community post (about the "?" function).
After 2 years of being challenged by the AUR to modify the Phonelist program to add a "delete" routine, a solution presented itself (I have been using it as an organizer, along with the flash memory so nothing gets lost).
The main problem to solve is the fact that the choose box returns only the second item of the list {"name" "number}, so in order to modify the 'names' list to let POS search for the position of the item to delete, I added a routine to combine each element into one string, using DOLIST. Then with the result of POS, the original list can be broken down using SUB into two pieces (without the item to be deleted), then combined with "+" . The method of modifying 'names' and re-storing it is pretty inelegant, but is the method given in the AUR.

So, first add a third choose item, {"DELETE AN ENTRY" 3}, and a third CASE element, "c 3 ==", then copy the same "you must add a name" routine, then ELSE names 1 << obj-> drop " " swap + + 1 ->list >> DOLIST 'nms' STO

This rewrites 'names' into single-string items, to be operated on by POS.
This is entered between ELSE and WHILE. After WHILE comes "DELETE AN ENTRY" 1 CHOOSE REPEAT nms swap POS dup names swap 1 swap 1 - SUB names ROT 1 + swap dup SIZE rot swap SUB + 'names' STO.

This uses POS to pick out all entries up to (POS - 1), then uses SIZE to pick out (POS + 1 throuth SIZE).
As for the case if the entry is first or last on the list, it turns out that SUB is a very forgiving function -- if the indices fall outside the range of the list, it returns a blank list {}. How convienient!! Then throw a 'nms' purge at the end to clean up. What fun!!