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
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Nov 28, 2007 4:10 pm   

%match and local variables
 
It looks like local variables within %match have stopped working.

This does not work properly:
#alias testmatch {#show %match("testing 1 2 3", "testing (*)", $testvar);#show $testvar}
testmatch

Using non-local variables does work:
#alias testmatch {#show %match("testing 1 2 3", "testing (*)", testvar);#show @testvar}
testmatch
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Nov 28, 2007 6:15 pm   
 
Yep, added to bug list. Probably also effects the %regex function.
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