Hi everybody

I use the -scriptcmd command line option quit a lot.

I noticed that it is not possible to pass array value to a macro

for instance, assume the following dx script test.net

---- dx script : test.net -----------------------------------

macro test(value){
        Echo(value);
}

-------------------------------------------

calling from the command line:

dx -script test.net -scriptcmd 'test(value=10);'

works fine:

Starting DX executive
Open Visualization Data Explorer
More Info at www.research.ibm.com/dx
and www.opendx.org
Version - 4.2.0
Memory cache will use 500 MB (30 for small items, 470 for large)

0:  worker here [6653]
0:  ECHO:  10
0:  cleaning up and exitin

But calling :

dx -script test.net -scriptcmd 'test(value=[10,10]);'

gives:

set: No match.

What do I do wrong. ?

Or is it a bug in the scriptcmd passing  ?

Regards

Eelco van Vliet

Reply via email to