home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!yale.edu!spool.mu.edu!agate!garnet.berkeley.edu!jak
- From: jak@garnet.berkeley.edu (John A. Kunze)
- Newsgroups: comp.lang.tcl
- Subject: setting globals in tk.tcl
- Date: 17 Dec 1992 02:55:32 GMT
- Organization: University of California, Berkeley
- Lines: 8
- Distribution: world
- Message-ID: <1goq74INN6kh@agate.berkeley.edu>
- NNTP-Posting-Host: garnet.berkeley.edu
-
- When you source tk.tcl from wish.tcl, the "set" commands correctly
- reference globals. Not true when you source it in the general case.
-
- I've fixed my code with "uplevel #0 source tk.tcl" but am wondering
- if it wouldn't make more sense to declare the appropriate variables
- as globals inside tk.tcl.
-
- -John
-