Post Reply 
Software for "Variable" and directories for HP Prime?
05-15-2018, 03:37 AM
Post: #10
RE: Software for "Variable" and directories for HP Prime?
I think tcab has a good explanation of the Prime's organizational principle. His example of variables applies equally well to files, which are local to each application instance. You seem to still be stuck on the root and branch organizational model. The Prime approach is to divide the problem space into App domains like Finance, Graphing and Spreadsheet (classes), then creating individual instances (objects) with their own state. You can create your own custom problem domain App if you wish. It would be nice if it were a little easier to access capabilities of other Apps when doing so, like their graphing libraries for instance (multiple inheritance?).

Cheer up though! If you feel a hierarchy is essential, write a simple PPL implementation (create, destroy, move, cd, pwd). A directory is nothing more than a list of file names and their location (see HP48 implementaion for details). Files are just written to a flat storage space and structure is imposed via directory lists. It would be interesting and instructive to work on such a program, it doesn't need a GUI to start with, and in the end it may even give you some appreciation for Cyrille's ranking of that feature Smile

Have fun with it,
~Mark

Remember kids, "In a democracy, you get the government you deserve."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Software for "Variable" and directories for HP Prime? - mfleming - 05-15-2018 03:37 AM



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