- Oct
- 369
- 2
Hello --
I am not sure if I missed something in the doc, but I been testing the embedded / loaded tcl support
if have a file foo.tcl
and if I type foo at the tcc command line, tcc run foo.tcl
now I am trying to past arguments to foo.tcl so I typed
foo this is a test
I expected the standard tcl vars to be set, ie
argc -> count of items in the argv list
argv -> all the arguments specified on the command line
When I when to reference these (global) variables then came back as undefined --
Did I miss something ?
Thanks for the help
I am not sure if I missed something in the doc, but I been testing the embedded / loaded tcl support
if have a file foo.tcl
and if I type foo at the tcc command line, tcc run foo.tcl
now I am trying to past arguments to foo.tcl so I typed
foo this is a test
I expected the standard tcl vars to be set, ie
argc -> count of items in the argv list
argv -> all the arguments specified on the command line
When I when to reference these (global) variables then came back as undefined --
Did I miss something ?
Thanks for the help