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: 5187

PostPosted: Sat Apr 26, 2008 3:51 pm   

[2.22] #WAITFOR loses captures
 
Procedure
1. Launch CMud
2. Close Sessions window(ESC)
3. Enter at the command line
Code:
#THREAD a {#WAITFOR {line (%d)} 1000 {#SHOW {a matched %pat(1) - %1}} {#SHOW {bad a}}};#WAIT 50;#SHOW line 7

Here we see the capture properly occurred
4. Enter at the command line
Code:
#THREAD a {#WAITFOR {line (%d)} 1000 {#SHOW {a matched %pat(1) - %1}} {#SHOW {bad a}}};#THREAD b {#WAITFOR {line} 2000 {#SHOW {b matched}} {#SHOW {bad b}}};#WAIT 50;#SHOW line 7

Now we see that the 'b' #WAITFOR causes the capture to be lost for the 'a' one.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Apr 28, 2008 5:02 pm   
 
Confirmed and added to bug list.
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