delete last card problems

Malte Brill revolution at
Sun May 22 15:26:50 EDT 2005

Hi Bob,

this should do...

In the stack script:

on deleteTheCards
   if the number of this cd<>1 then
     delete this cd
     repeat with i=1 to the number of fields of this cd
       put empty into fld i of this cd
     end repeat
   end if
end deleteTheCards

In your button script

on mouseUp
end mouseUp

Hope this helps,


More information about the Use-livecode mailing list