EGL library ConverseLib

The Converse library provides the functions shown in the table below.

Function Description
clearScreen () Clears the screen, as is useful before the program issues a converse statement in a text application.
displayMsgNum (msgNumber) Retrieves a value from the program's message table. The message is presented the next time that a form is presented by a converse, display, print, or show statement.
result = fieldInputLength (textField) Returns the number of characters that the user typed in the input field when the text form was last presented. That number does not include leading or trailing blanks or nulls.
pageEject () Advances print-form output to the top of the next page, as is useful before the program issues a print statement.
validationFailed (msgNumber)
  • If invoked in a field-validation function in a text application, ConverseLib.validationFailed causes the re-presentation of the received text form after all validation functions are processed. The last-invoked ConverseLib.validationFailed determines what message is displayed.
  • If invoked outside a validation function, ConverseLib.validationFailed presents the specified message the next time that a form is presented by a converse, display, print, or show statement. The behavior in this case is like that of ConverseLib.displayMsgNum.
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.