'there is' anomaly
Paul Kocsis
pkocsis at cox.net
Wed Aug 16 03:26:21 EDT 2006
I have a handler in a mainstack card script:
on trydelete2 pgrp
if there is a group pgrp then
delete group pgrp
end if
end trydelete2
Once in a great while, my standalone will error with the following error
text:
Executing at 1:01:03 AM on Wednesday, August 16, 2006
Type: delete: can't find object
Object: card "card id 1002" of stack "C:/MultiMediaApp/MultiMediaApp.exe"
Line: if there is a group pgrp then
Line Num: 0
Hint: trydelete2
Obviously, my handler is written to not attempt to delete a group if the
'there is' fails....so how is it conceivable that I could get this execution
error????
Any ideas??
Paul Kocsis
More information about the use-livecode
mailing list