Re: typical TCL docu nonsens

Liste des GroupesRevenir à cl tcl 
Sujet : Re: typical TCL docu nonsens
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tcl
Date : 21. Jun 2024, 21:17:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v54n4p$3aslh$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 21.06.24 14:25, Robert Heller wrote:
At Fri, 21 Jun 2024 11:40:25 +0200 aotto1968 <aotto1968@t-online.de> wrote:
 
>
>
typical TCL "package" horror
>
# I know  finally the "autopath" is the WRONG name
lappend autopath /some/path/to/package/dir
 The correct name is auto_path.  The docs say so:
         auto_path
               If set, then it must contain a valid Tcl list giving directories
               to search during auto-load operations (including for package in‐
               dex files when using the default package unknown handler).  This
               variable is initialized during startup to contain, in order: the
               directories  listed  in the TCLLIBPATH environment variable, the
               directory named by the tcl_library global variable,  the  parent
               directory of tcl_library, the directories listed in the tcl_pkg‐
               Path variable.  Additional locations to look for files and pack‐
               age indices should normally be added to this variable using lap‐
               pend.
                Additional variables relating to package management exist.  More
               details  are listed in the VARIABLES section of the library man‐
               ual page.
 Where did you see "autopath"?
 
>
the core problem is *not* the "autopath" is wrong because at the time I use it I
does not know it was wrong. The core problem is that is was *very* difficult to figure
out what was the "right" name. special the tcl_traceExec… does not help and more
important the package.n docu (package require…) does *not* spend a single word on
*how* to find a package.

Date Sujet#  Auteur
21 Jun 24 * typical TCL docu nonsens9aotto1968
21 Jun 24 +* Re: typical TCL docu nonsens7Robert Heller
21 Jun 24 i`* Re: typical TCL docu nonsens6aotto1968
21 Jun 24 i `* Re: typical TCL docu nonsens5et99
21 Jun 24 i  `* Re: typical TCL docu nonsens4Rich
21 Jun 24 i   +- Re: typical TCL docu nonsens1et99
22 Jun 24 i   `* Re: typical TCL docu nonsens2Robert Heller
22 Jun 24 i    `- Re: typical TCL docu nonsens1Rich
24 Jun 24 `- Re: typical TCL docu nonsens1aotto1968

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal