|
Malaphus Rousseau Newbie
Joined: 25 Jun 2007 Posts: 6
|
Posted: 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? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Sep 21, 2007 2:10 pm |
Confirmed. It isn't deliberate that this causes a crash error - it needs to be fixed.
|
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Fri Sep 21, 2007 2:31 pm |
#addkey blah bleh
too. [2.03] |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 24, 2007 8:40 pm |
I have this fixed for the next version already.
|
|
|
|
Malaphus Rousseau Newbie
Joined: 25 Jun 2007 Posts: 6
|
Posted: 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 =/
|
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: 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 |
|
|
|
|
|