Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <20241004033648.47f809d1@lud1.home>
Deutsch   English   Français   Italiano  
<20241004033648.47f809d1@lud1.home>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Luc <luc@sep.invalid>
Newsgroups: comp.lang.tcl
Subject: How do I correctly access this variable?
Date: Fri, 4 Oct 2024 03:36:48 -0300
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <20241004033648.47f809d1@lud1.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 04 Oct 2024 08:36:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="15f649942e682c8a504c1d56922877be";
	logging-data="152835"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19segtcL6lgkFQ9PjDCkHYwf49W9Vi7TLY="
Cancel-Lock: sha1:HwOE0E+3kxtDR5Kza8qhtxMj0Ho=

I am stumped by this:

array set CONTROL {
	InitialStartUpDir "$env(HOME)"
}

puts $env(HOME)
/home/luc

OK.

Now,

oo::define NewTab {
	constructor {} {
		blah blah blah...
		$newtab configure -text "$::CONTROL(InitialStartUpDir)"
	}
}

The button label becomes "$env(HOME)" instead of /home/luc.

What am I doing wrong?

-- 
Luc
>>