Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Thu Jul 12, 2007 3:12 pm   

[1.34] Data record variable parsing on the command line
 
I found a strange little behavior in CMUD regarding a difference in how it parses my data record variables when typed on the command-line. I have a simple data record variable to track my pipe properties (id, puffs, status). I reported this, and Zugg is unable to reproduce it. I can reproduce it with clean 1.34 installations on two different PCs (one Vista, one XP SP2) and a blank profile, so I'm asking for help.

Works on the command-line:
Code:
#ADDKEY pipe_faeleaf id 12345
probe @pipe_faeleaf.id


Does not work on the command-line:
Code:
#ADDKEY pipe_faeleaf id 12345
give @pipe_faeleaf.id to person


In the second instance, I get "give to person" without even an extra space (leading and trailing). It's not restricted to this one data record variable, of course, either. I can reproduce it with any name, key, and value, it seems.
Reply with quote
Tech
GURU


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

PostPosted: Thu Jul 12, 2007 4:32 pm   
 
It works fine for me.
_________________
Asati di tempari!
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Thu Jul 12, 2007 5:27 pm   
 
zMUD had an "Expand Vars" preference, but I don't see it in CMUD. Maybe it got imported from a zMUD session and is being obeyed in CMUD even though it can't be set through the UI? I do see the pref though... do #SHOW %pref("ExpandVars")
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Thu Jul 12, 2007 5:33 pm   
 
My variables are expanding, except in the very specific case where the variable is @var.key and has text following it. My ExpandVars setting was 0, strangely enough, though changing it to 1 had no effect at all.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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