Post Reply 
HP50G Programming - display list/matrix and show program
12-19-2013, 05:50 PM
Post: #1
HP50G Programming - display list/matrix and show program
Hi all,

I'm new here and new to the world of HP calculators and I've spent the last few days lusting after various calculators from HP. I'm trying to get a handle on what's possible with the Prime and hp50g before making the difficult decision on which to buy.

Anyway, on to my questions. Hopefully this is a suitable place to ask.

Q1: Is there a way to invoke the matrix editor (MTRW) programmatically on a given list/matrix? I want to show the user a (potentially) long and expanding list at a few points in my program.

Q2: I'd also like a nice way to display the "source" of a program programatically. By this I mean the little listing enclosed in chevrons which resides on the stack immediately after entering a program. I have a program stored in a variable (which can be evaluated, etc.) which I want to display (potentially the user will edit it) and certainly don't want to have to go fishing through the files listing.

Thanks in advance!
Find all posts by this user
Quote this message in a reply
12-20-2013, 02:58 AM
Post: #2
RE: HP50G Programming - display list/matrix and show program
I got there in the end. Problem solved.
Find all posts by this user
Quote this message in a reply
12-25-2013, 09:42 AM (This post was last modified: 12-25-2013 09:42 AM by Marcus von Cube.)
Post: #3
RE: HP50G Programming - display list/matrix and show program
(12-20-2013 02:58 AM)dizzy Wrote:  I got there in the end. Problem solved.
We'd be interested in how you got there. Can you post some code here, please?

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
01-10-2014, 03:56 PM
Post: #4
RE: HP50G Programming - display list/matrix and show program
(12-25-2013 09:42 AM)Marcus von Cube Wrote:  
(12-20-2013 02:58 AM)dizzy Wrote:  I got there in the end. Problem solved.
We'd be interested in how you got there. Can you post some code here, please?

Sorry, I didn't see your reply until now.

The matrix editor can be opened with EDITB (if a Matrix is on the stack).

Showing a program is easy too: Just STO it into a variable and then RCL it.
Find all posts by this user
Quote this message in a reply
10-19-2015, 09:18 AM
Post: #5
RE: HP50G Programming - display list/matrix and show program
Hi all,
if you are still interested, these instructions are used for call the matrix writer inside a program:

#A2012h LIBEVAL A STO @ create a matrix and store it in a variable (A)

A @ view A

If you want edit the matrix, alwais inside a program, use these instructions with a soft menu for example:

A
35.1 KEYEVAL
'A' STO

Best regards

Andrea
Find all posts by this user
Quote this message in a reply
Post Reply 




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