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
Malaphus Rousseau
Newbie


Joined: 25 Jun 2007
Posts: 6

PostPosted: Fri Sep 21, 2007 12:00 pm   

#delkey causes program error now?
 
Is it intended for something like:

#delkey myVar key1

to produce a program error if key1 doesn't exist? In the past if the key didn't exist it was just ignored, but now I get a "Key 'key1' not found." error that pops up asking if i want to submit an error report, etc... Do I need to change all of my settings to contain #IF's for any delkey call, or will this be fixed?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri Sep 21, 2007 2:10 pm   
 
Confirmed. It isn't deliberate that this causes a crash error - it needs to be fixed.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Fri Sep 21, 2007 2:31 pm   
 
#addkey blah bleh

too. [2.03]
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Sep 24, 2007 8:40 pm   
 
I have this fixed for the next version already.
Reply with quote
Malaphus Rousseau
Newbie


Joined: 25 Jun 2007
Posts: 6

PostPosted: Tue Sep 25, 2007 8:52 pm   
 
Oh goody! I can't even play without it heh, at least not with triggers, which I have about a billion of =/
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Wed Sep 26, 2007 1:57 am   
 
I know that it would be a pain but you could add an if.

#if (%iskey(@dbvar,thingyouwanttodelete)) {#delkey dbvar thingyouwanttodelete}

Just mentioning this work around because Zugg had mentioned playing with the new Delphi and that could delay the next version if he does.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
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