|
Echo()
Display a message.
Syntax
Echo(<cMessage>,
<lAsk>) --> lResponse
Arguments
<cMessage> --> is the text message to
display.
<lAsk> --> is optional. If TRUE, the
user will be prompted to respond to the message in the form of a
Yes/No question.
Returns
Always returns TRUE unless <lAsk> was
passed as TRUE. In which case, TRUE is returned if the user pressed
the "Yes" button or FALSE if the user pressed the "No" button.
Description
Displays a text message on the Window in a dialog
box. If the <lAsk> parameter is specified and passed as TRUE,
the operator is prompted to respond by clicking on either the "Yes"
or "No" buttons. If <lAsk> is not specified only an OK button
is displayed.
Example
* Display the message
"Hello World"
Echo('Hello
World')
* Prompt for a
response
If Echo('Do you wish
to continue?', TRUE)
Echo('The Yes button was
pressed.')
Endif
____________________________
Related Topics
Business
Function List
EchoStatus()
|