AustrianOak Posted June 3, 2008 Posted June 3, 2008 ive got code that needs to be checked constantly for certain events that may happen and i put it in the while loop in this format: While 1 $msg = GUIGetMsg() Select ; misc code here ; misc code here Case $msg = $GUI_Event_close etc... the problem is that the code is being completely skipped maybe because its in the select end select range and its not a case. and i tried putting it in the while but not in the select and it generates all these errors... so where do i put it??? :|
nobbe Posted June 3, 2008 Posted June 3, 2008 While 1$msg = GUIGetMsg()Select; misc code here; misc code hereCase $msg = $GUI_Event_closeetc...it cant be in a select loop - select only checks for a certain variable so betterWhile 1; misc code here; misc code here$msg = GUIGetMsg()Select Case $msg = $GUI_Event_closeetc...
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