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
gmueller
Apprentice


Joined: 06 Apr 2004
Posts: 173

PostPosted: Tue Aug 07, 2007 11:14 pm   

[1.34] expand not working?
 
#VAR zuggsoft "Zugg's virtual home."
#VAR email "zugg@zuggsoft"
#SHOW w/o expand: @email

displays:w/o expand: zugg@zuggsoft

the %expand options all display the same thing.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Aug 07, 2007 11:45 pm   
 
There's definitely something going on here, although I don't think %expand works quite the way you think.

In zMUD both commands display "zuggZugg's virtual home."
#SHOW @email
#SHOW %expand(@email)

In CMUD this is not the case. Both commands behave as you describe. Even specifying the optional integer parameter for number levels seems to have no effect.

As a workaround, the follow command gives the result you expect (i.e. "zuggZugg'svirtualhome.")
#SHOW %eval(@email)
_________________
Asati di tempari!
Reply with quote
gmueller
Apprentice


Joined: 06 Apr 2004
Posts: 173

PostPosted: Wed Aug 08, 2007 12:05 am   
 
I tried that but it only seems to do one level of recursion with that...
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