EGL library converseLib

The converseLib system library provides functions related to the EGL converse statement. These functions are shown in the following table.

Function Description
clearScreen () Clears the screen, as is useful before the program issues a converse statement in a Text UI program.
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.
result = getCursorColumn () Returns the number of the column where the cursor is currently positioned.
result = getCursorLine () Returns the number of the line where the cursor is currently positioned.
pageEject () Advances print-form output to the top of the next page, as is useful before the program issues a print statement.
setCursorPosition (line, column) Moves the cursor in a Text UI form to a new position.
validationFailed (msgNumber)
  • If invoked in a field-validation function in a Text UI program, 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