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
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Wed Dec 20, 2006 6:54 am   

[1.24] Indirect Variable Assignment
 
Currently its not working properly.

color=teal
test=color

then #ECHO @{@test}
shows 'teal' like it should

However, #VAR @test pink
does not set color=pink like you would think, instead it sets test=pink

the #VAR command ignores the @ in the variablename
_________________
Discord: Shalimarwildcat
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Wed Dec 20, 2006 10:53 am   
 
Did this actually work in zMUD? I know it technically should work, but maybe Zugg isn't allowing it at the moment since maybe #VAR @test pink and #VAR test pink did the same thing in zMUD...
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Wed Dec 20, 2006 11:13 am   
 
in zmud it worked as @@test i did use it effectively
_________________
Discord: Shalimarwildcat
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Dec 21, 2006 4:27 am   
 
Confirmed. I tried putting braces around the parameters to get

#var {@test} {teal}

and got a syntax error. Definitely not behaving as expected.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jan 17, 2007 7:42 pm   
 
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