Strings inside matrix editor on 50g



#5

Anyone know if its possible to add strings to a column inside the matrix writer on the 50g? I get a bad argument type error.

I'm trying to build a primitive database system for the 50g Which allows simple key value pair lookups by name and vice versa.

Failing that I'll implement a dictionary/hash table lisp-style with lists ( unless anyone is aware of a better solution).


Edited: 22 May 2013, 1:44 p.m.


#6

Hello Chris,

The only possibility i see: is to enter variable-names which are single-quoted as matrix-elements.

for example: 'NoChance', 'whatXeverXyouXwant' or like that, but don't begin with a number and a underscore isn't possible either.

Greetings
peacecalc

#7

"Anyone know if its possible to add strings to a column inside the matrix writer on the 50g?"

Yes you can. Set the flag 91

This allows MTWR to work with list of list and that seems perfect for your purpose.

So you can enter not only strings but all kinds of objects with the matrix writer (including other lists).

Edited: 22 May 2013, 3:57 p.m.


#8

Fantastic! That did exactly what I was hoping for.

Thanks for your help.


Possibly Related Threads...
Thread Author Replies Views Last Post
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 242 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  HP Prime Matrix TERRIBLE bug and question uklo 19 825 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 289 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  Absolute Value and Matrix BruceTTT 5 308 11-11-2013, 11:52 PM
Last Post: Walter B
  HP Prime editor errors Alberto Candel 0 123 10-22-2013, 01:34 AM
Last Post: Alberto Candel
  Prime Program Editor Bug Dougggg 8 340 10-09-2013, 10:56 PM
Last Post: Han
  A HP42S Code Editor Andreas 9 449 09-22-2013, 03:17 AM
Last Post: Andreas
  HP Prime and Strings Han 6 288 09-20-2013, 10:18 AM
Last Post: Han
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 168 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany
  Matrix Characteristic Polynomial - Reloaded. Ángel Martin 12 472 08-22-2013, 05:33 PM
Last Post: Thomas Klemm

Forum Jump: