(42S) BROWSE - Row-by-row matrix browser
|
05-31-2019, 03:02 PM
(This post was last modified: 06-11-2019 12:07 PM by Dave Britten.)
Post: #1
|
|||
|
|||
(42S) BROWSE - Row-by-row matrix browser
EDIT: I found a bug concerning the handling of end wrapping with I+ and I-. The program listing has been corrected.
This is a simple program that lets you flip through a matrix a whole row at a time. The rows are displayed using the alpha register, with all elements in the row concatenated together and separated by spaces. This will only really be practical for matrices that are only a few columns wide, and you may have to adjust the display mode to limit the number of decimal places. Usage: 1. INDEX the matrix. 2. XEQ "BROWSE" 3. Use the two arrow keys to scroll through the matrix rows, or press the "TOP" menu key to return to the first row. 4. Press EXIT to finish browsing, and the stack will be restored. This is mostly intended for use from within other programs (pressing EXIT will do RTN after cleaning up), but it's also suitable for direct use. Code: 00 { 175-Byte Prgm } |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)