__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#-----------------------------------------------------------------------------
# tclx.tcl -- Extended Tcl initialization.
#-----------------------------------------------------------------------------
# $Id: tclx.tcl,v 1.6 2005/11/21 18:37:58 hobbs Exp $
#-----------------------------------------------------------------------------
namespace eval ::tclx {
global auto_path auto_index tclx_library
if {[info exists tclx_library] && [string length $tclx_library]} {
set auto_index(buildpackageindex) \
{source [file join $tclx_library buildidx.tcl]}
if {![info exists auto_path] ||
[lsearch -exact $auto_path $tclx_library] == -1} {
lappend auto_path $tclx_library
}
}
variable file ""
variable dir ""
variable libfiles
array set libfiles {
arrayprocs.tcl 1
autoload.tcl 0
buildhelp.tcl 0
buildidx.tcl 0
compat.tcl 1
convlib.tcl 1
edprocs.tcl 1
events.tcl 1
fmath.tcl 1
forfile.tcl 1
globrecur.tcl 1
help.tcl 1
profrep.tcl 1
pushd.tcl 1
setfuncs.tcl 1
showproc.tcl 1
stringfile.tcl 1
tcllib.tcl 0
tclx.tcl 0
}
set dir [file dirname [info script]]
foreach file [array names libfiles] {
if {$libfiles($file)} {
uplevel \#0 [list source [file join $dir $file]]
}
}
if 0 {
# A pure Tcl equivalent to TclX's readdir, except that it includes
# . and .., which should be removed
proc ::readdir {args} {
set len [llength $args]
set ptn [list *]
if {![string equal $::tcl_platform(platform) "windows"]} {
lappend ptn .*
}
if {$len == 1} {
set dir [lindex $args 0]
} elseif {$len == 2} {
if {![string equal [lindex $args 0] "-hidden"]} {
return -code error \
"expected option of \"-hidden\", got \"[lindex $args 0]\""
}
if {[string equal $::tcl_platform(platform) "windows"]} {
lappend ptn .*
}
set dir [lindex $args 1]
} else {
set cmd [lindex [info level 0] 0]
return -code error \
"wrong \# args: $cmd ?-hidden? dirPath"
}
return [eval [list glob -tails -nocomplain -directory $dir] $ptn]
}
}
}; # end namespace tclx
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| arrayprocs.tcl | File | 1.6 KB | 0644 |
|
| autoload.tcl | File | 2.22 KB | 0644 |
|
| buildhelp.tcl | File | 15.61 KB | 0644 |
|
| compat.tcl | File | 9.8 KB | 0644 |
|
| convlib.tcl | File | 3.86 KB | 0644 |
|
| edprocs.tcl | File | 1.95 KB | 0644 |
|
| events.tcl | File | 1.03 KB | 0644 |
|
| fmath.tcl | File | 2.19 KB | 0644 |
|
| forfile.tcl | File | 1.4 KB | 0644 |
|
| globrecur.tcl | File | 3.11 KB | 0644 |
|
| help.tcl | File | 10.36 KB | 0644 |
|
| libtclx8.4.so | File | 155.52 KB | 0755 |
|
| pkgIndex.tcl | File | 77 B | 0644 |
|
| profrep.tcl | File | 5.1 KB | 0644 |
|
| pushd.tcl | File | 1.83 KB | 0644 |
|
| setfuncs.tcl | File | 2.92 KB | 0644 |
|
| showproc.tcl | File | 1.46 KB | 0644 |
|
| stringfile.tcl | File | 1.38 KB | 0644 |
|
| tcllib.tcl | File | 4.32 KB | 0644 |
|
| tclx.tcl | File | 2.05 KB | 0644 |
|