[Xotcl] global variable "cmd"

Gustaf Neumann neumann at wu-wien.ac.at
Fri Jan 6 13:37:18 CET 2006


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



More information about the Xotcl mailing list