This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

question

Old posts that have not been replied to for several years.
Locked
a
ahv

Post by ahv »

Does anybody know why a tcl scripts stops working after i uploaded another tcl script?
M
Mordred

Post by Mordred »

I guess there could be a number of reasons, although probaby the most expected problem for me would be an event handler being used which is not stackable. Not all event handlers are, and loading a new script which tries to run from the same trigger as a previous script will simply overwrite the handler for that event with the newly specified one. Check tcl-commands.doc and binds for more info on what is stackable.
I can't remember precisely atm but one of the commands for exiting a proc, maybe break, maybe return, will result in no more events being processed after the current one, effectively "emtpying the stack" for stackable binds. Both of these answers rely on the notion that both scripts are trying to hook into the same event to run. Maybe we need more info..
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

or possibly a global variable clash
Locked