Has anyone ever used the iconifyStack and unIconifyStack

Thomas McGrath III 3mcgrath at adelphia.net
Tue Feb 3 09:43:41 EST 2004


Thanks for replying Jan and Martin,

I will try these this morning and see.

IMO
the iconic seems like a property and not a command
and
iconifyStack seems like a command not just a message

That's probably why I got it confused. and I didn't even think of a 
recursion here

Thanks

Tom

On Feb 3, 2004, at 5:46 AM, Jan Schenkel wrote:

>
> local sBusyIconifying
> on iconifyStack
>   -- exit if we're already iconifying
>   if sBusyIconifying is true
>   then exit iconifyStack
>   else put true into sBusyIconifying
>   -- now that we've set the flag
>   -- proceed by iconifying the other stacks
>   put the openstacks into tvar
>   put the short name of this stack into myname
>   repeat for each line i in tvar
>     if i <> myname then
>       set the iconic of stack i to true
>     end if
>   end repeat
>   -- clear the flag again for next time
>   put false into sBusyIconfying
> end iconifystack
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list