No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] global variable "cmd"
From: Koen Danckaert <koen_at_retarget.com>
Date: Fri, 06 Jan 2006 12:30:36 +0100
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
Date: Fri, 06 Jan 2006 12:30:36 +0100
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