HTBasic Help
×
Menu
Index

LINPUT

Reads alphanumeric keyboard input to a string.
 
 LINPUT ["prompt",] string-name$ [(subscripts)][sub-string]
 
Usage:
LINPUT "Choice?",D$
LINPUT Iarray$(I)[4]
 
Example:           LINPUT.BAS
 
Description:
The LINPUT statement gets one alphanumeric data item from the keyboard and assigns it to the string variable. LINPUT values may consist of commas, quotation marks and leading and trailing blanks.
 
The CRT display line will display a prompt while the LINPUT is active. If no prompt string is specified a question mark is displayed. If a zero length string-literal is specified, "", the question mark is suppressed. After entry completion, press ENTER.
 
During an LINPUT the ON KBD, ON KEY, and ON KNOB event definitions are deactivated.
 
See Also: