|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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
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
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 |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Sat Nov 10, 2007 5:20 pm |
So the result of the #SHOW is correct, but the output from #THREAD is incorrect...
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: 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.
|
|
|
|
|
|