i = warning(message『,parameter1,...,parameterN』);
i = warning(message『,parameter1,...,parameterN』)
『select(caption1,field1,...,captionN,fieldN』) 『default(default_option)』 』
『case ‖ summary』
『denom = numeric_denom』;
function is similar to the errmsg
function and the parameters and return value are described in the help documentation for that function. The function only has special behavior in a data entry application. If used in a batch or tabulation application, it behaves identically to errmsg
The function differs from errmsg
in that it can be used for "soft check" error messages. These messages will not be displayed to the operator when advancing in the case (such as when resuming from a partial save). This can also be useful for information that you want to display to the operator only when they have just filled a field, rather than when moving from one section to another section.
If using the select
option, then one of the field arguments must be continue
or you must specify the default_option
. When advancing past this function, a message will not display and then the default_option
will be evaluated.