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
Davos
Adept


Joined: 30 Jan 2003
Posts: 228
Location: USA

PostPosted: Wed Nov 16, 2005 12:49 am   

Using variables to call variables...
 
this is basicly what Im trying to do...
#LOOPDB @var1 {
var2 = %key
#LOOPDB @@var2 {}
}

In this case, dbvar var1 %key values are names of other dbvars... This is the best I can do to explain what Im trying to do... Obviosly the above example doesnt work, but I need to find a way to make it work... please
_________________
The Seaworthy
Reply with quote
Davos
Adept


Joined: 30 Jan 2003
Posts: 228
Location: USA

PostPosted: Wed Nov 16, 2005 2:16 am   
 
Just to post my own answer...

#LOOPDB @var1 {
#LOOPDB @{%key} {}
}

Works...
_________________
The Seaworthy
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