custom properties in stacks that aren't open

Wouter wouter.abraham at pi.be
Fri Jun 11 19:18:42 EDT 2004


> You can purge stacks from memory like this:
>
> on purgeStack x
>     put the mainStack of x into tS
>     put cr & the subStacks of x after tS
>     repeat for each line l in tS
>       close stack l
>     end repeat
>     delete stack x
> end purgeStack
>
> Greetings,
> WA

Correction, copied the wrong handler, sorry

on purge x
   put  x into tS
   put cr & the subStacks of stack x after tS
   repeat for each line l in tS
     close stack l
   end repeat
   delete stack x
end purge

Greetings,
WA



More information about the use-livecode mailing list