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
Stephenos
Beginner


Joined: 06 Jul 2007
Posts: 27

PostPosted: Wed Sep 19, 2007 9:08 pm   

Database not in memory after #DBLOAD
 
I have a Cures database that fails on lookups unless I manually open it using the Database dialog. I've tried using #dbclose cu;#dbload cu to see if that would reset it automatically - it apparently does not.

There is a Cures_bak database in the same directory. I don't know if that causes a problem for #DBLOAD cu

Thanks
Reply with quote
Progonoi
Magician


Joined: 28 Jan 2007
Posts: 430

PostPosted: Wed Sep 19, 2007 10:33 pm   
 
As far as I know you can't do DB lookups *unless* you have database dialog window opened.

I may be wrong, though.


Prog
_________________
The Proud new owner of CMud.

--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
--------------------------------
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Sep 20, 2007 12:48 am   
 
Nope, not wrong. None of the DB commands or functions do anything if the DB window is not open and the target is a database record (if it's a datarecord variable, as in the case of #DBLOOP or %db(), it still operates correctly).
_________________
EDIT: I didn't like my old signature
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