Re: How to delete cards but card 1

2020-09-28 Thread Sannyasin Brahmanathaswami via use-livecode
You did it!
Yay!
BR

Paul Dupuis wrote:

repeat with i = the number of cards down to 2
  delete card i
end repeat

___
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: How to delete cards but card 1

2020-09-28 Thread Bob Sneidar via use-livecode
You cannot delete a card that contains a running script unless you send in 
time. If you delete the last card of a stack if will create a new card as 
otherwise there would be no stack. So this script it seems would run forever. 

Bob S


> On Sep 28, 2020, at 6:02 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> repeat forever
>  go last card 
>  delete this card
>   end repeat
> 
> I have tried everything in the manual 
> 
> ??
> BR
> 
> ___
> 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


___
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: How to delete cards but card 1

2020-09-28 Thread Paul Dupuis via use-livecode

repeat with i = the number of cards down to 2
  delete card i
end repeat

On 9/28/2020 9:02 AM, Sannyasin Brahmanathaswami via use-livecode wrote:

repeat forever
   go last card
   delete this card
end repeat

I have tried everything in the manual

??
BR

___
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



___
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


How to delete cards but card 1

2020-09-28 Thread Sannyasin Brahmanathaswami via use-livecode
repeat forever
  go last card 
  delete this card
   end repeat

I have tried everything in the manual 

??
BR

___
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