Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Nov 10, 2007 4:30 pm   

[2.11] Another [:]window: problem
 
This might be related to the on regarding aliases, but I doubt it.

1. Launch CMud
2. Close Sessions window (ESC)
3. Enter at the command line
Code:
#WINDOW test;:test:#1 {#WAITFOR {abc};#SHOW yes}

4. Enter at the command line
Code:
#THREAD

You will see the waitfor is listed as being attached to the untitled window when it should be in the test window.
5. Enter at the command line
Code:
#SHOW abc

Now you will see the 'yes' appears in the test window.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sat Nov 10, 2007 5:20 pm   
 
So the result of the #SHOW is correct, but the output from #THREAD is incorrect...
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Nov 10, 2007 9:20 pm   
 
The 'yes' turns up in the right place. When you do step 5 the 'abc' is in the untitled window, and is detected by the #WAITFOR, but the #WAITFOR should have been attached in the test window.

The bug is not with #THREAD. If the bug had been with #THREAD then the title would indicate that the bug is with #THREAD. #THREAD is perfectly correct about where the #WAITFOR has been attached. My testing couldn't determine if the problem only applied to #WAITFOR, so that isn't in the title either. Seb, please try actually running the test before you become confused about what is wrong.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sun Nov 11, 2007 1:30 am   
 
Right, well you didn't really explain what the problem was and instead left it to the reader to figure it out. Thanks for the partial explanation now though.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net