[Xotcl] global variable "cmd"

Koen Danckaert koen at retarget.com
Fri Jan 6 12:30:36 CET 2006


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


More information about the Xotcl mailing list