Strings inside matrix editor on 50g
#1

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.

#2

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

#3

"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.

#4

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 2,071 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  HP Prime Matrix TERRIBLE bug and question uklo 19 5,288 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 2,385 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  Absolute Value and Matrix BruceTTT 5 2,166 11-11-2013, 11:52 PM
Last Post: Walter B
  HP Prime editor errors Alberto Candel 0 994 10-22-2013, 01:34 AM
Last Post: Alberto Candel
  Prime Program Editor Bug Dougggg 8 2,542 10-09-2013, 10:56 PM
Last Post: Han
  A HP42S Code Editor Andreas 9 2,866 09-22-2013, 03:17 AM
Last Post: Andreas
  HP Prime and Strings Han 6 2,294 09-20-2013, 10:18 AM
Last Post: Han
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 1,215 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany
  Matrix Characteristic Polynomial - Reloaded. Ángel Martin 12 3,546 08-22-2013, 05:33 PM
Last Post: Thomas Klemm

Forum Jump: