Home > Archive > Tcl > July 2005 > TCL "info globals" problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
TCL "info globals" problem
|
|
| Lawrence DčOliveiro 2005-07-28, 4:02 am |
| I've hit an odd problem with TCL on a 64-bit installation of SuSE Linux
9.3.
The problem is that the "info globals" command is returning a non-null
result for an undefined global, when it should be returning a null
result. Furthermore, it only does this inside a proc.
For example, try this command sequence from the tclsh command prompt:
proc Try {} {global Glob; info globals Glob}
Try
Assuming that there is no global variable named "Glob", this returns an
empty result on a 32-bit system, but it returns "Glob" on a 64-bit
system! tcl_version is 8.4 on both machines.
If you try the same commands as the procedure body, entered directly:
global Glob
info globals Glob
This sequence returns no result on both 32-bit and 64-bit systems.
| |
| Don Porter 2005-07-28, 5:03 pm |
| Lawrence DčOliveiro wrote:
> I've hit an odd problem with TCL on a 64-bit installation of SuSE Linux
> 9.3.
Please file a bug report on this.
http://sourceforge.net/tracker/?gro...894&atid=110894
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|_______________________________________
_______________________________|
| |
| Lawrence DčOliveiro 2005-07-28, 5:03 pm |
| In article <slrndehs49.hob.dgp@clover.cam.nist.gov>,
Don Porter <dgp@email.nist.gov> wrote:
>Lawrence DčOliveiro wrote:
>
>Please file a bug report on this.
>
>http://sourceforge.net/tracker/?gro...894&atid=110894
OK, done
<http://sourceforge.net/tracker/inde...=110894&aid=124
7135&group_id=10894>.
I see that the latest release of TCL is 8.4.11, whereas my problem
64-bit system is running 8.4.9, while the older 32-bit one is running
8.4.6.
If I hit too many further problems, I might just try downloading and
building 8.4.11, to see if that helps.
| |
| sigzero@gmail.com 2005-07-29, 5:05 pm |
|
Lawrence D=B9Oliveiro wrote:
> In article <slrndehs49.hob.dgp@clover.cam.nist.gov>,
> Don Porter <dgp@email.nist.gov> wrote:
>
>
> OK, done
> <http://sourceforge.net/tracker/inde...d=3D110894&aid=
=3D124
> 7135&group_id=3D10894>.
>
> I see that the latest release of TCL is 8.4.11, whereas my problem
> 64-bit system is running 8.4.9, while the older 32-bit one is running
> 8.4.6.
>
> If I hit too many further problems, I might just try downloading and
> building 8.4.11, to see if that helps.
On Windows XP (32-BIT) I get a return of "Glob" using the proc and
nothing calling it directly.
I am using 8.4.11 here.
Robert
|
|
|
|
|