Re: [MACTCL] about package require
by Lazzaro Nicoḷ Ciccolella other posts by this author
Oct 10 2005 12:42AM messages near this date
Re: [MACTCL] about package require
|
Re: [MACTCL] about package require
nico ha scritto:
> > | tdom is installed in /Library/Tcl/tdom0.8.0/
> > | does it mean that package require automatically search in this path?
> > | can i move tdom to another path? and which command can i use to use it
> > | from the new path?
Hi,
I dont know C,
but using tcl, you can inform your ryntime that the tdom library is in a
non standard location with this two line:
lappend auto_path [file join [file dirname [info script]] libs tdom0.8.1]
package require tdom
In the above example the tdom library are at the same level of main tcl
script in a directory named libs.
myscript.tcl
libs/tdom0.8.1
hope help
--
Lazzaro
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Nico Bats
Nico
Kevin Walzer
Nico
Lazzaro Nicoḷ Ciccolella
Philip Aker
|