From: Alexander R.Povolotsky on
>Does the file makeSymTbl.tcl provide its own definition of
>the [unknown] command, replacing the one from Tcl's script library?
It appears to me that this particular one doesn't.
I wish that someone (with Tcl background) from WindRiver would
interject into this discussion and shed some light on what WindRiver
did and did'nt in those tcl scripts
From: Alexander R.Povolotsky on
>Does the file makeSymTbl.tcl provide its own definition of
>the [unknown] command, replacing the one from Tcl's script library?

I tried to answer above question using the "set auto_index" command
executing it first in the tclsh script and then out of those WindRiver
tcl scripts and to compare the results with regards what source is
referenced ... but I am not having luck with it in both tclsh script
and am getting similar (but not exactly the same) failure in
executing it out of those WindRiver tcl scripts

% set auto_index(unknown)
can't read "auto_index(unknown)": no such element in array

% set auto_index([unknown])
ambiguous command name "": after append apply array auto_execok
auto_import auto_load auto_load_index auto_qualify binary break case
catch cd chan clock close concat
xit expr fblocked fconfigure fcopy file fileevent flush for foreach
format gets glob global history if incr info interp join lappend
lassign lindex linsert list llen
arch lset lsort namespace open package pid pkg_mkIndex proc puts pwd
read regexp regsub rename return scan seek set socket source split
string subst switch tclLog tc
ad_source time trace unknown unload unset update uplevel upvar
variable vwait while

The difference between what I am getting out of tclsh script (see
above )
and out of those WindRiver tcl scripts
is that for latter the error message does not contain list of commands
- I just get - see below

tclsh c:/Tornado/host/resource/hutils/tcl/bsp2prj.tcl PPC604 gnu all
invalid command name ""
while executing
"unknown"
invoked from within
"set auto_index([unknown])"
(file "c:/Tornado/host/resource/hutils/tcl/bsp2prj.tcl" line 66)
make: *** [prj_default] Error 1

What I am doing wrong ?

Thanks !