Post Reply 
Units48 v1.0: units the 48 way
09-14-2018, 10:55 AM (This post was last modified: 10-30-2018 04:20 PM by Didier Lachieze.)
Post: #1
Units48 v1.0: units the 48 way
Leveraging the work done on Base48, Units48 is a small app to do units calculation the 48 way.

You'll find an environment with a stack, softkeys and similar function set.

After the Preview version, here is v1.0, fixing some bugs and adding support for more key functions.

One key point is that under Units48, the [Alpha] key is redefined to act as a second shift key, similar to the [Left Shift] key on the HP 48, while the [Blue Shift] key acts as the Right Shift on the HP 48. This enables units conversion with [Alpha] [unit soft key] the same way as it is done with [Left Shift] [unit soft key] on the HP 48.

Here is a list of the key functions supported under Units48:
  • Up key: main units menu
  • Left key: similar to Prev on the 48
  • Right key: similar to Next on the 48
  • [Blue Shift]: access to the keyboard keys shift functions, and similar to [Right Shift] for the soft keys
  • [Alpha]: similar to [Left Shift] for the soft keys
  • [Blue Shift][Units]: main units menu
  • [Alpha][Units]: tools menu
  • x^y, SIN, COS, Tan, LN, LOG,x^2, +/- keys: primary and shifted functions implemented
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, . , EEX keys: used for number input
  • [Blue Shift][3]: PI
  • [,]: swap the stack levels 1 and 2
  • ÷, x, -, + keys: standard operators
  • [Blue Shift][÷]: inverse
  • [Blue Shift][+]: either Undo or Import from Ans, depending on the app settings
  • Menu: either Import from Ans or Undo, depending on the app settings
  • Num: main app screen (to be used for ex. with the Home key to swap between Home and Units48)
  • [Blue Shift][Num]: app settings
  • [Blue Shift][App]: info about the app
  • Esc: exit the app
  • [Blue Shift][Esc]: clear the stack
    Added with v1.0:
  • [Toolbox]: subset of the Tool menu, with numeric functions that can be used within Units48
  • [Blue Shift][Esc]: clear the stack
  • [Apps], [Apps Info], [Home], [Home Settings], [Mem], [List], [Matrix], [Program], [Notes]: work as expected (press Num to return to Units48)

There is no documentation yet (you can refer to the Base48 documentation for the settings and import/export mechanism). Please report any bug found or any improvement you would like to see implemented.

Note1: one change from Base48 is that by default the latest stack level1 value is stored in the Home Ans and is available when you exit the app. This can be changed in the app settings.

Note2: the user key program to retrieve the app stack in RPN mode is slightly different from the one published in the Base48 documentation. Here is the updated one compatible with both Base48 and Units48:
Code:
KEY KS_Plus()
BEGIN
IF Entry==2 THEN
  RETURN ΣLIST(REVERSE(EXECON("STRING(&1)+\" \"",Stack)));
ELSE
  RETURN Ans;
END;
END;


Attached File(s) Thumbnail(s)
       

.zip  Units48_v1.0.zip (Size: 14.4 KB / Downloads: 35)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Units48 v1.0: units the 48 way - Didier Lachieze - 09-14-2018 10:55 AM



User(s) browsing this thread: 1 Guest(s)