Re: tcl command "type"
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 20:03:54 GMT
suchodj@xxxxxxxxxx wrote:
thank you for helping. my idea was the following : i am coding a little application and sourcing several files in a sort of main file. In order to check if the files were correctly sourced i thaught of dumping them ???
You can also check whether the source failed or not with catch:
if {[catch {source myfile.tcl] err]} {
puts "error sourcing myfile.tcl: \"$err\""
}
.- References:
- tcl command "type"
- From: suchodj
- Re: tcl command "type"
- From: Bryan Oakley
- Re: tcl command "type"
- From: suchodj
- tcl command "type"
- Prev by Date: Re: tcl command "type"
- Next by Date: Re: Availability of OS X-specific features
- Previous by thread: Re: tcl command "type"
- Index(es):