Tcl Library Source Code

pkgIndex.tcl at [1a71a38c30]
Login

File modules/try/pkgIndex.tcl artifact 42a8b74b81 part of check-in 1a71a38c30


#checker -scope global exclude warnUndefinedVar
# var in question is 'dir'.
if {![package vsatisfies [package provide Tcl] 8.5]} {
    # PRAGMA: returnok
    return
}
# The package below is a backward compatible implementation of
# try/catch/finally, for use by Tcl 8.5 only. On 8.6 it does nothing.
package ifneeded try 1 [list source [file join $dir try.tcl]]