WKBUF-ADD-TO-BEGINNING This operation adds keystrokes to the beginning of the keyboard buffer. Syntax CALL "W$KEYBUF" USING WKBUF-ADD-TO-BEGINNING keyCodes GIVING returnCode Parameters: WKBUF-ADD-TO-BEGINNING Constant keyCodes PIC X(n) Keycodes to be added. The keycode string can be composed by 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}” The following special keycodes are supported: -----------+------------ Key code | Description -----------+------------ ^M | enter ^I | tab ZB | backspace ^[ | escape k1 - k0 | F1 - F10 K1 - K0 | F11 - F20 kh | home kl | left arrow kr | right arrow ku | up arrow kd | down arrow Return Code: returnCode can be any numeric data item and provides additional information: 0 Operation successful. 1 Operation failed.