Bug or feature : "namespace import atlmkkernel::*::*"

Liste des GroupesRevenir à cl tcl 
Sujet : Bug or feature : "namespace import atlmkkernel::*::*"
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tcl
Date : 07. Jan 2025, 22:14:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlk5gm$2csbl$1@dont-email.me>
User-Agent : Mozilla Thunderbird
Hi,
just some code at starter :
package require atlmkkernel
namespace import atlmkkernel::MkRuntimeC::*
namespace import atlmkkernel::*::*
ends with :
unknown namespace in import pattern "atlmkkernel::*::*"
     while executing
"namespace import atlmkkernel::*::*"
-----------------------------------------
analysis :
1) namespace import atlmkkernel::MkRuntimeC::* is valid,
there is a NS in a NS and the last one has some commands defined
2) the problem is that are MORE than one NS exists.
-> the idea was to use:
-> namespace import atlmkkernel::*::*
to import ALL commands from ALL sub-NS of "atlmkkernel"
3) the "atlmkkernel" has NO command defined BUT has:
-> namespace export "Mk*C"
a pattern on all "sub-NS" BUT this seems to be NOT supported
obvious this is NOT working in TCL.
-> the problem is now that I can#t import all commands without writing down ALL NS import
-> commands individual.
just an info

Date Sujet#  Auteur
7 Jan 25 o Bug or feature : "namespace import atlmkkernel::*::*"1aotto1968

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal