MESSAGE_TEXT$

MESSAGE_TEXT$

CONTAINS THE TEXT OF EDIT OF MESSAGE_INPUT()

  • Type: System Variable
  • Parameter: 0
  • Group: Messages

ACTION

The system-variable is linked to the message-window MESSAGE_INPUT(T1,T2,T3).

It contains:

- T3 when the user closes the message-window by clicking on the button "CANCEL" or on the closing icon (red cross).

- the text of EDIT when the user closes the message-window by clicking on the button OK.

SYNTAX: MESSAGE_TEXT$ in an expression

USE

  • The system variable MESSAGE_TEXT$ is used to treat a text entered by the user.

ERROR

  • None.

EXAMPLE

rem wait for the user input and print the entered text

if message_input("Data to be entered", "Give your age" , "20")=1

print "The age is "+message_text$

end_if

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_WARNING_OK()

MESSAGE_WARNING_YES_NO()