CALL "W$KEYBUF" USING WKBUF-LOAD-FROM-FILE fileName GIVING returnCode |
WKBUF-LOAD-FROM-FILE | Constant | |
fileName | PIC X(n) | Specifies the path and the name of the file where to read keystrokes. File Handling Configuration properties don’t affect the search of this file. The keycode string read from the file can be composed of letters, numbers and special keycodes. Special keycodes must be used with Acucobol-GT syntax and must be placed between curly brackets. For example, in order to send “A”, “B” and enter to the runtime, the following string should be used “AB{^M}” See Acucobol-GT key codes for W$KEYBUF routine for the lists the supported special keycodes. |
0 | Operation successful. |
1 | Operation failed. |