[comp.sys.handhelds] HP48 Unit Object Dimensions

billw@hpcvra.CV.HP.COM (William C Wickes) (08/23/90)

The HP 48 object encoded in the string below is a program that takes
a unit object and returns eight real integers.  Each integer is the
power of one of the base units represented in the unit object argument.
The integers are returned in the order: mass (level 8), length, current,
time, temperature, luminous intensity, amount of substance, undefined.

For example, supposing the object is stored as DIMS:

1_m DIMS -> 0 1 0 0 0 0 0 0

1_s DIMS -> 0 0 0 1 0 0 0 0

1_m/s DIMS -> 0 1 0 -1 0 0 0 0

1_W DIMS -> 1 2 0 -3 0 0 0 0

Here is the string:

%%HP: T(3)A(D)F(.);
"D9D20D29512BF81B7040D9D2044EF0A211693045FC436ADB46AAC35F30403C37
088130E4A2070000FF40D35D53453392020000000000072102C230178A2CB916
D9D20339202000000000006520189A2B21303223019D35433706B436AAC35442
30B2130B21303587"

The string should be downloaded to the HP 48 and converted to an executable
program object by ASC->, the conversion utility I posted in my note of
8/17/90.