Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: aotto1968 Newsgroups: comp.lang.tcl Subject: Bug or feature : "namespace import atlmkkernel::*::*" Date: Tue, 7 Jan 2025 22:14:59 +0100 Organization: A noiseless patient Spider Lines: 43 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 07 Jan 2025 22:15:02 +0100 (CET) Injection-Info: dont-email.me; posting-host="2ca3d41b80208cf91a57f00cb907ef71"; logging-data="2519413"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+O5KBgDDwPdvbohcP4lu8Vr4SP0LyNjPw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:02TWSuTN6B5UxYysunxdincWGHo= Content-Language: en-US Bytes: 1910 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