No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] global variable "cmd"
From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Fri, 06 Jan 2006 13:37:18 +0100
Hi Koen,
the loop variable will be unset in the next release. it was the only one
set in predefined.xotcl.
Thanks for reporting!
-gustaf
Koen Danckaert wrote:
> Hello,
>
> The predefined.xotcl file uses a global variable "cmd":
> foreach cmd {array append lappend trace eval} ...
>
> Which may, of course, give unexpected results:
>
> tclsh
> % set cmd mycommand
> mycommand
> % package require XOTcl
> 1.3.8
> % set cmd
> eval
>
> Regards,
> Koen
> _______________________________________________
> Xotcl mailing list
> Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
Date: Fri, 06 Jan 2006 13:37:18 +0100
Hi Koen,
the loop variable will be unset in the next release. it was the only one
set in predefined.xotcl.
Thanks for reporting!
-gustaf
Koen Danckaert wrote:
> Hello,
>
> The predefined.xotcl file uses a global variable "cmd":
> foreach cmd {array append lappend trace eval} ...
>
> Which may, of course, give unexpected results:
>
> tclsh
> % set cmd mycommand
> mycommand
> % package require XOTcl
> 1.3.8
> % set cmd
> eval
>
> Regards,
> Koen
> _______________________________________________
> Xotcl mailing list
> Xotcl_at_alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl