GUI_MESSAGE(TITLE$,TEXT$,[BUT$])
BUT$ - Optional buton list (default is " OK#Cancel# " )
Will display a message box (and upto 3 buttons) and wait for user input. The function then returns which button was pressed - which is value from 1 to 3.
Example:
but=GUI_MESSAGE("Message","Simple Message","Ok#More#Cancel#")
Select but
Case 1
;OK pressed
Case 2
;More pressed
Case 3
;Cancel pressed
End Select