MLSACCEPT Used as a Boolean Function

The MLSACCEPT statement can be used as a Boolean function to determine whether or not a message was entered before the MLSACCEPT statement was executed. When used as a Boolean function, MLSACCEPT statement does not display the requested message. If a message was entered, the result returned by the MLSACCEPT statement is TRUE and Boolean (<response length>) and the message is placed in the pointer expression, string variable, or subscripted string variable. If no message was entered, the result is FALSE. In either case, the program does not wait for input.