DISPLAYS A WINDOW WITH CAPTION T1, AN ALPHA WITH CAPTION T2, AN EDIT DISPLAYING T3 AND TWO BUTTONS
ACTION
The function displays a window with the caption T1, an ALPHA with the caption T2, an EDIT displaying the text T3 and two buttons "OK" and "CANCEL".
The program is frozen and resumes when user closes The window.
The function returns:
0 when user closes the window by clicking on the button "CANCEL" or on the closing icon (red cross). In The case, the system variable MESSAGE_TEXT$ is T3.
1 when user closes the window by clicking on the button OK. In The case, the text of EDIT is in the system variable MESSAGE_TEXT$.
SYNTAX:
Result=MESSAGE_INPUT(T1,T2,T3)
USE ERROR 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
MESSAGE_INPUT()
MESSAGE_INPUT(T1,T2,T3)
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_TEXT$
MESSAGE_WARNING_OK()
MESSAGE_WARNING_YES_NO()