::starkit::* vars do not exist ?

From: Rolf Schroedter (me_at_privacy.net)
Date: 10/28/04


Date: Thu, 28 Oct 2004 11:20:36 +0200

Until now I used to determine whether an application is wrapped
in a starkit by
        [info exists ::starkit::toplevel]

Now I'm getting a strange problem when running a starkit
(Tcl8.4.6, windows).
The namespace exists, variables are visible, but
        [info exists ::starkit::toplevel]
returns 0:

% set tcl_patchLevel
8.4.6
% namespace exists ::starkit
1
% info vars ::starkit::*
::starkit::mode ::starkit::topdir
% info exists ::starkit::topdir
0

What has broken ?

Rolf.
---------------------------------------------------------------
Rolf Schroedter, German Aerospace Center

Remove .nospam to reply: mailto:Rolf.Schroedter@dlr.de.nospam



Relevant Pages

  • Re: ::starkit::* vars do not exist ?
    ... > Now I'm getting a strange problem when running a starkit ... > (Tcl8.4.6, windows). ... namespace eval ns { ... # So [info vars] know it ...
    (comp.lang.tcl)
  • Re: ::starkit::* vars do not exist ?
    ... According to Rolf Schroedter: ... package require starkit ... should be construed as representing my employer's opinions. ...
    (comp.lang.tcl)