Hi, 

Excuse my ignorance but what is "!" feature? I checked the books but
didn't find anything. I need to pass arguments to a dx script like:

dx -script myscript.dx arg1 arg2

I tried in myscript.dx Echo($1,$2) and Echo(!1,!2)
but got errors. How can I pass arguments to a dx script?

Thanks.
Ted

"Peter D. Kirchner" wrote:
> 
> Any number of sensible ways to do this don't exist.
> 
> You might be able to (shell dependent)
> MYFILE=foo    dx -edit General.net
> Then in General.net have ImportSpreadsheet use the "!" feature to echo $MYFILE
> (directly or through a shell script) and if necessary other junk to satisfy
> ImportSpreadsheet, then use the column name or data value to get MYFILE's
> setting into your net, to feed to the filename input of the desired Import.
> You could hide this ugliness in a macro.

Reply via email to