WINPUT acts exactly like INPUT, but with the optional bar-code wand.
WINPUT prompt, variable. (See also INPUT)
100 WINPUT A$ 110 PRINT A$
The bar-code wand input will be stored in A$ and displayed on the LCD screen.
The string returned from the bar-code is read exactly like a keyboard input. If any key is pressed prior to bar-code input then the input will be taken from the keyboard instead.
Further details of available bar codes may be found in Bar Codes And Light Pens.
The use of string variables is recommended to allow for any alpha content.
The bar code format must first be selected using the WAND verb. The relevant wand software must be resident in HUNTER as a system file. If it is not, then a system file error will result.