- Oct
- 363
- 2
Hello –
I could not find any post for tcl in the forums – I would appreciate info on how the embedded support works for tcl –
My guess is that now tc/tk is loaded ( from a dll ) into tcc, but if I understands the doc, its (re)loaded for each tcl script that is processed – Is that correct?
Once tcl is loaded, how does tcc figure out what to run if I type at the comand line
foo
and there are files ( in the search path ) named
foo.cmd
foo.bat
foo.btm
foo.tcl
is there a search order if multiple embedded processors are loaded? Ie tcl and python?
I been using the rexx support for years now and the way that work makes sense – tcc peaks at the first 2 characters of the cmd file and if its “/*” the file is process by the loaded rexx interpreter – is there a similar schema for tcl, ie (using shebang )
# tcl
so the tcl code can be in a cmd file or something like this?
Thanks
I could not find any post for tcl in the forums – I would appreciate info on how the embedded support works for tcl –
My guess is that now tc/tk is loaded ( from a dll ) into tcc, but if I understands the doc, its (re)loaded for each tcl script that is processed – Is that correct?
Once tcl is loaded, how does tcc figure out what to run if I type at the comand line
foo
and there are files ( in the search path ) named
foo.cmd
foo.bat
foo.btm
foo.tcl
is there a search order if multiple embedded processors are loaded? Ie tcl and python?
I been using the rexx support for years now and the way that work makes sense – tcc peaks at the first 2 characters of the cmd file and if its “/*” the file is process by the loaded rexx interpreter – is there a similar schema for tcl, ie (using shebang )
# tcl
so the tcl code can be in a cmd file or something like this?
Thanks