filter appears to work differently when single stepping

2013-09-12 Thread Dr. Hawkins
I have a global dhUpCds for a list of long names of cards that get
updated.  When a card closes, I want them removed

I made a handler

on dhRmUpCd oldCd
   global dhUpCds
   filter dhUpCds without "*" & oldCd
end dhRmUpCd

This is designed to accept either a card name or stack name.

I'm finding that it always works as expected when single stepping in
the IDE, but that the filtering does not work all of the time when
running.  Even single stepping to that point and hitting the blue run
button seems to leave the command unprocessed.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter appears to work differently when single stepping

2013-09-12 Thread Dr. Hawkins
On Thu, Sep 12, 2013 at 9:32 AM, Klaus major-k  wrote:
>
>## Try with parens:
>filter dhUpCds without ("*" & oldCd)

Thanks.  THis may have done it.

It also seems that the watch window for my variable does not get
updated after the last iteration until I click on another window--even
though it has focus neither before or after . . .

grr.




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: filter appears to work differently when single stepping

2013-09-12 Thread Klaus major-k
Hi Richard,

Am 12.09.2013 um 18:26 schrieb "Dr. Hawkins" :

> I have a global dhUpCds for a list of long names of cards that get
> updated.  When a card closes, I want them removed
> 
> I made a handler
> 
on dhRmUpCd oldCd
  global dhUpCds
 
   ## Try with parens:
   filter dhUpCds without ("*" & oldCd)
end dhRmUpCd

> This is designed to accept either a card name or stack name.
> 
> I'm finding that it always works as expected when single stepping in
> the IDE, but that the filtering does not work all of the time when
> running.  Even single stepping to that point and hitting the blue run
> button seems to leave the command unprocessed.
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode