User`s guide
Chapter
5
BASIC
Commands
73
Syntax
SEND_WEDGE(DataString$)
Remarks
"DataString$" is the data string to be sent via the keyboard wedge interface.
Example
...
DataString$ = CHR$(9) + "TESTING" +
CHR(9)
SEND_WEDGE (DataString$)
...
' [Tab] + "TESTING" + [Tab]
See Also
SET_WEDGE, WEDGE_READY
SET_WEDGE
Purpose
To configure the keyboard wedge interface.
Syntax
SET_WEDGE(WedgeSetting$)
Remarks
"WedgeSetting$" is a 3-element character array describing the characteristics of the
keyboard wedge interface.
Example
...
Wedge_1$ = CHR$(1) ' terminal type: PCAT(US)
Wedge_2$ = CHR$(1)
' auto-detection disabled, capital lock off, case sensitive
' use numeric keypad to transmit digits
Wedge_3$ = CHR$(5) ' inter-char-delay: 5 ms
WedgeSetting$ = Wedge_1$ + Wedge_2$ + Wedge_3$
SET_WEDGE(WedgeSetting$)
SEND_WEDGE (DataString$)
...
See Also
SEND_WEDGE, WEDGE_READY
WEDGE_READY
Purpose
To check if the keyboard wedge cable is well connected and ready to send data.
Syntax
state% = WEDGE_READY