property is not an interger?

Howard Bornstein bornstein at
Tue Jul 6 09:26:24 CDT 2004

On Jul 2, 2004, at 2:03 PM, Rich Lague wrote:

> I can't seem to get the script below to work. When I try to examine it
> with the debugger I get, "Error description: Object: property is not an
> integer"
> Is there some way to tell what property is the problem?

You need to specify which card to delete. Simply add "i" after the 
delete card command:

on tryAgain
   repeat with i = the number of cards down to 1
     if the number of card i > 1 then
       delete card i
     end if
   end repeat
end tryAgain


Howard Bornstein
D E S I G N   E Q

More information about the use-livecode mailing list