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
spidey
Newbie


Joined: 29 Jan 2004
Posts: 2
Location: USA

PostPosted: Wed Aug 30, 2006 11:30 am   

String to be a key for data record
 
#addkey dCalendarHolidays "12-15" "Knorrian Fast of Intelligence"
ResultVar = %db( @dCalendarHolidays, "12-15")

this returns no results to ResultVar, yet -

#addkey dCalendarHolidays 223 "Knorrian Fast of Intelligence"
ResultVar = %db( @dCalendarHolidays, 223)

does return: Knorrian Fast of Intelligence

My question is how do I get a string to act as a key? It seems to only work for integers.

- spidey
_________________
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Tue Sep 05, 2006 6:25 pm   
 
Does ResultVar = %db( @dCalendarHolidays, "~"12-15~"") work?
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