cancel
Showing results for 
Search instead for 
Did you mean: 

Functional amend in splay table for char vectors

david_bieber
New Contributor
Hi,

I would like to modify various entries in a splayed table that contains char vectors but not too sure how to do this
for instance if I create the following splay

`:c:/db/t/ set ([] ti:09:30:00 09:31:00; p:101.0 102.0f; id:`:c:/db/sym?`AA`BB; des😞"A A";"B B"));

which will create a table with both symbol and char vector columns

I would like to then amend ...
for all columns I could do the following functional select
In this case below I am changing the symbols from `AA`BB to `aa`bb
I:0 1
idnew
:`:c:/db/sym?`aa`bb
`
:c:/db/t/id set @[get `:c:/db/t/id;I;:;idnew]

How could I do something similar for char vector column which in the directory has two files
c:/db/t/des
c
:/db/t/des#

many thanks

David





1 REPLY 1

david_bieber
New Contributor
I have realized this works for a char vector columns without and modification!