I meant to say "all my *main* stacks"

> Everyone has a bunch of tools they use when developing 
> programs...And I was
> wondering if anyone wanted to share some of the stuff they put in *all*
> their projects?
> 
> for instance, I usually put the following in all my stacks:
> 
> on closeStack
> 
>   if exists(stack "revMenubar") or exists(stack "Home") then
>     beep
>   else
>     answer question "Are you sure you want to Quit?" with "No" or "Yes"
>     if it is "Yes" then
>       killSockets
>       quit
>     end if
>   end if
> 
> end closeStack
> 
> on killSockets
>   put openSockets() into theSocks
>   repeat for each line sock in theSocks
>     close socket sock
>   end repeat
> end killSockets
> 
> 
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reply via email to