dakota Posted June 7, 2006 Share Posted June 7, 2006 how do i call a function like this: code code code code call done code code this is the real code While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $done call function "done" here Case Else ;;; EndSelect WEnd Link to comment Share on other sites More sharing options...
SlimShady Posted June 7, 2006 Share Posted June 7, 2006 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 More sharing options...
dakota Posted June 7, 2006 Author Share Posted June 7, 2006 ok think you i will try that Link to comment Share on other sites More sharing options...
BigDod Posted June 7, 2006 Share Posted June 7, 2006 ok think you i will try that 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 More sharing options...
dakota Posted June 7, 2006 Author Share Posted June 7, 2006 OK think you, Oh and I thank I will try that LOL Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now