[comp.sys.handhelds] Abstract data types in HP48

d0mo@dtek.chalmers.se (Mats Olsson) (03/14/91)

Hi folks!

I have a little thought.

As you know, the HP48 has some abstract data types built-in,
called "Long Real", "External", etc (I bet it IS an "Internal" as well!).
(They all have hidden structures and are therefore represented as
their names on the stack (=> abstract))

Now the idea:
How about to create an *own* one, for example a "Symbolic Matrix" data
type. It should then be shown on the stack as just the string 
"Symbolic Matrix", but when you pushed the down-arryw key, 
you would be able to look at, and edit, the symbolic matrix in a 
matrix editor. (This implies of course that one has redifined the down-
arrow key, to check for that kind of data type, and also that you've 
written a symolic-matrix editor)

I think it really *is* need for a symbolic matrix data 
type, and wouldn't it be nice if it could be made in that "professional" way?

Then one could add operators, such as *,+,1/x,det etc, and also some
selectors (to get an object at a specific position of the matrix, etc),
to work on that data type...

How about it? Is it possible? I welcome any comments!!

Regards,

Mats Olsson,
Chalmers Univerity of Technology,
Sweden