MESSAGE_WARNING_OK()

MESSAGE_WARNING_OK(T)

DISPLAYS A WINDOW WITH A TEXT, AN EXCLAMATION POINT SYMBOL AND A BUTTON

  • Type: Function
  • Parameter: 1
  • Group: Messages

ACTION

The function displays in a window the text T (one line), an exclamation point symbol and a button "OK".

The program is frozen and resumes when user closes The window.

The function returns:

0 when user closes the window by clicking on the closing icon (red cross),

1 when user closes the window by clicking on the button OK.

SYNTAX: Result=MESSAGE_WARNING_OK(T)

  • T = text (string) to be displayed on the message window.

USE

  • The function MESSAGE_WARNING_OK() is used to display a warning message to be acknowledged.

ERROR

  • If the text T is not a correct string expression.

EXAMPLE

rem display a warning message

if message_warning_ok("The stack is saturating")=1 then - - -

SEE ALSO

MESSAGE

MESSAGE_CONFIRMATION_OK()

MESSAGE_CONFIRMATION_YES_NO()

MESSAGE_ERROR_OK()

MESSAGE_ERROR_YES_NO()

MESSAGE_INFORMATION_OK()

MESSAGE_INFORMATION_YES_NO()

MESSAGE_INPUT()

MESSAGE_INPUT$()

MESSAGE_TEXT$

MESSAGE_WARNING_YES_NO()