Re: Tcl source command directory
- From: "Ray" <ray.mosley@xxxxxxxxx>
- Date: 31 Mar 2006 06:45:04 -0800
I tend to build up and use the absolute pathname instead of relative
ones.
In each called script, put:
set scriptName [file tail [set scriptPath [info script]]]
set basedir [file dirname $scriptPath]
source [file join $basedir <your-libname-here>]
.
- Follow-Ups:
- Re: Tcl source command directory
- From: Gerald W. Lester
- Re: Tcl source command directory
- References:
- Tcl source command directory
- From: brianlum
- Re: Tcl source command directory
- From: Gerald W. Lester
- Tcl source command directory
- Prev by Date: Re: ANNOUNCE: TIP#262 Published
- Next by Date: tcl-math(8.5): big-doubles? how do you do it?
- Previous by thread: Re: Tcl source command directory
- Next by thread: Re: Tcl source command directory
- Index(es):
Relevant Pages
|