Jump to content

call a function


Recommended Posts

While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $done
       Done()
    Case Else
       ;;;
    EndSelect
WEnd

Func Done()
   MsgBox(64, @ScriptName, "Done!")
EndFunc

Link to comment
Share on other sites

ok think you i will try that :D

I am not being cheeky but the word is thank not think. If no-one tells you the correct spelling you will never know.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...