Home page  
Help >
DDL Command MESSAGE
Version 7.11
MESSAGE

Presents a message on the screen. Messages are modal. Modal means that you must deal with the MESSAGE (either click OK or the Close button) before you can do anything else. That is, when a MESSAGE is up all other controls you may see on your screen are inoperable until the MESSAGE is closed.

Syntax:
MESSAGE/options the-message-text

Notation standards Options Answers
Options:
S -Each line of text is presented as quoted strings
X -Suppress the command response
Y -Do not alter the command answer cells

Answers:
Ctl.Ans1 =Zero
Ctl.Ans2 =OK when ENTER pressed or OK button clicked, else Zero
Ctl.Ans3 =Zero

Notes:
Here is an example of using MESSAGE without the S option followed by the message box that was produced by this use of the command:


message This is an example of a message where-
there was no S option employed so the text just-
word wraps in the message box and appears as a-
single paragraph. Notice that the text is entered-
as a continuous string with no quotes required.-
The hyphens are being used to continue a single-
command on to multiple lines just like any other-
command, and they are not controlling how the-
message word wraps.



















Here is another example where this time the S option is employed:


message/s "EXAMPLE TWO"-
" "-
"Here you have decided to control exactly how"-
"each line appears so you are using the S option."-
"Now each line is a quote-delimited string. "-
" "-
"Notice that in this case you can introduce blank"-
"lines, allowing multiple paragraphs and/or sep-"-
"arating captions from text."-
" "-
"Again, the hyphens are used to continue a single"-
"command onto multiplelines."



















Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.