Forum: Ruby Re: Accessing tcl/tk global variables from callbacks

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
bpetrovi (Guest)
on 2005-12-03 00:31
(Received via mailing list)
Sorry everyone, i guess the best way to learn Tcl is by learning
Tcl, not Python. :)
Global variables must be declared in a proc by "global varName".
The Python behaviour is in some sense anomalous.
This topic is locked and can not be replied to.