Tandy 1000 Basic Reference Manual page 182

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I BASIC Kevwords
Examples
I N P U T Y %
when BASIC reaches this line, you must type any number and
press
JENTERI
before the program can continue.
I N P U T SENTENCES
when BASIC reaches this line, you must type in a string. The
string does not have t o be enclosed in quotation marks unless it
contains a comma, a colon, or a leading blank.
I N P U T "ENTER
YOUR NAME, AGE";
N $ , A
prints the prompt string on the screen, which helps the user en-
ter the right kind of data.
Sample Program
5 0 I N P U T "HOW MUCH
DO
YOU WEIGH";
X
6 0 P R I N T " O N MARS YOU WOULD WEIGH ABOUT"
C I N T C X
*
.38)
"POUNDS."
180

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents