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