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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Fri Sep 05, 2003 9:15 am   

Space in Field?
 
The Field name should be Extra flags not Extraflags.

so do i type #ADDITEM IdItem.Extraflags anti-evil

or do i type #ADDITEM "IdItem.Extra flags" anti-evil

quite blur
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Sep 05, 2003 5:02 pm   
 
You don't really need this answered twice, do you?
Reply with quote
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Fri Sep 05, 2003 6:45 pm   
 
hmm...

so close it in { } ?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Sep 05, 2003 10:36 pm   
 
There is no way I'm aware of to use #ADDITEM with a multi-word key in a record variable.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Sep 05, 2003 11:26 pm   
 
if you can use multi-word keys in the database/datarecord functions (%db(), %iskey(), etc), then you can use them in #ADDITEM--it'd just be a whole lot easier to avoid using multiple words or use some other separator you can then substitute spaces for when needed (extra_flags, for instance). This is because you'd have to use the variable name, variable field syntax instead of the much less cumbersome name.key syntax.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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