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
atpeace
Novice


Joined: 26 Jan 2009
Posts: 32

PostPosted: Mon Jan 26, 2009 10:42 pm   

&DataBase=Value unsupported?
 
Is the syntax :
&DataBaseKey=Value

is no longer supported in CMud?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Mon Jan 26, 2009 11:25 pm   
 
That syntax is extremely obscure. After a quick racking of my brain I can't even recall where it is documented, but I know there was 1 reference to it in zMud's help, and should still work in CMud as that part of the zScript language hasn't changed.

It of course only applies when you are using the database module, and have retrieved a record into the %rec predefined variable using using #DBGET. As long as that is how you are actually trying to use it then it should work; and you can also do #ADDKEY {%rec} {key} {value}.
_________________
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: Tue Jan 27, 2009 2:56 am   
 
That syntax is not supported in CMUD. Vijilante is correct about the work around, although I think the syntax is actually:

#ADDKEY %rec {key} {value}

(no {} around the %rec part)

I think you can also do:

#VAR %rec.key {value}

and possibly

%rec.key = value

but I haven't tried it to be sure. But the &Key=Value syntax definitely won't work, sorry.
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