Hello,
I am trying to check syntax of my script using "tclchecker", which contains procs created for some other tool. "tclchecker" generates error
"undefined procedure", which is fine for me, as for "tclchecker" these procs are undefined.
To make these procs visible to "tclchecker", my tool provider
provides a "tool.pcx" as a package file.
Now to include this package file, I copied the "tool.pcx" into the current directory and used the command mentioned below:-
{tclchecker -pcx "." -use "1st package required" -use "2nd package required" -use "Tcl8.4" script.tcl}
"tclchecker" generates error
error loading Extention /tool.pcx
Kindly let me know
- Am I doing this correctly?
- How to load a package "*.pcx" file into "tclchecker"?
- Is their any other way to make procs(Written for some other tool), visible into "tclchecker"
Thanks in advance,
Naresh
Hi Naresh.
Please add the option '-pcxdebug' to your command line, as the first argument of tclchecker. If you have a recent enough version of TDK the tclchecker will recognize it and activate extensive logging of its internal actions while processing the .pcx files.
The log will be written to stdout, and is best redirected to a file. This should give us more clues about what is happening with 'tool.pcx'.