To read this content please select one of the options below:

Not for Novices

Mark Bendig (Reference and Enhanced Information Services)

OCLC Micro

ISSN: 8756-5196

Article publication date: 1 April 1989

8

Abstract

This is the third in a series of articles about accepting user input in BASIC programs. Previous columns (Oct. 1988 and Feb. 1989) discussed the INPUT statement, used to get a string of characters (eg., Your Name) from the user, and the INPUTS function, which we used to accept a single‐character menu selection. Now, we'll look at the most advanced input technique of all. This is a technique in which your program accepts one keystroke at a time from the user until the <RETURN> key is pressed. The fact that your program gets to “look at” each incoming character and act on it individually allows great flexibility. First, let's get specific Fire up your copy of BASIC and enter the following short program

Citation

Bendig, M. (1989), "Not for Novices", OCLC Micro, Vol. 5 No. 4, pp. 7-27. https://doi.org/10.1108/eb055932

Publisher

:

MCB UP Ltd

Copyright © 1989, MCB UP Limited

Related articles