On 07/18/2016 08:11 AM, Alexandru wrote:
> array set a [list 1,"Not working" test]
The error message tells you, why didn't you report it?
% array set a [list 1,"Not working" test]
list must have an even number of elements
Drawing it out a bit more:
% set l [list 1,"Not working" test]
1,\"Not working\" test
% array set a $l
list must have an even number of elements
% llength $l
3
% lindex $l 0
1,"Not
% lindex $l 1
working"
% lindex $l 2
test
Root of the problem is you need to review "..." quoting syntax and
recognize that it quotes whole words only.
--
| Don Porter Applied and Computational Mathematics Division |
|
donald...@nist.gov Information Technology Laboratory |
|
http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|