I have a $string:
start ch(“something”)
if I
set new = substr("$string",3,4000)
and then feed stick $new to a table
table mytable 0 0 “$new”
I don’t see any double quotes in the table
???
d
I have a $string:
start ch(“something”)
if I
set new = substr("$string",3,4000)
and then feed stick $new to a table
table mytable 0 0 “$new”
I don’t see any double quotes in the table
???
d
Actually - let me rephrase the problem - MUCH SIMPLIER - much scarier…
I’m looking at a table - a row has:
chop(“…/chopnet1/OUT_bone1/rx”)
there doesn’t seem to be anyway for me to put that exact cell into a variable.
ie. set var = tab("table",0,0)
- strips off the double quotes
set var = “tab('table',0,0)
” - also strips off the double quotes.
and it’s not in the “echo” ing of that variable. In fact, I’ve tried:
table newtable 0 0 tab("mytable",0,0)
and also what I get in newtable doesn’t have double quotes …
I’m sure this has been discussed over and over - by me… I just need to be refreshed as to whether or not anything was ever done about it in terms of a workaround?
On that note, it would be awesome to have:
get_output(“tab(‘mytable’,0,0)”,myvar)
which avoids ANY issue with parsing and just sticks the exact output of a command into a variable - named $myvar)
tx
d
it’s been there for at least a year
set text = `noevals(tab("table1",0,0))`
print $text
table table2 0 0 $text
or
table table2 0 0 `noevals(tab("table1",0,0))`