15 PRINT "WHOSE POEMS WERE THE TALK OF THE L A N D . "
R U N
I H E A R D OF A POET N A M E D 5AM
WHOSE POEMS WERE THE T A L K OF THE L A N D .
I MET HIM ONE DAY, A N D TO MY DISMAY,
The computer automatically inserted line 15 between lines 10 and 20.
Write another line:
30 PRINT "HIS BRAINS WERE SILICON-SAND. "
R U N
LIST
The RUN and LIST commands cause all four lines of PRINT instruc-
tions to appear on the screen.
ERROR MESSAGE: COMPUTER TALK FOR
"I DON'T UNDERSTAND"
PRINT simply tells the computer to print whatever is inside quotation
marks on the screen. The computer doesn't care what words or symbols
are inside the quotation marks; the words don't need to be spelled cor-
rectly or make sense. Try out the instructions below:
40 PRINT " A Y E SAY HYE.: U SAY BI. "
RUN
Even when the quotation marks enclose a nonsense sentence containing
misspelled words, the computer does what it is told to do. However,
try misspelling PRINT as shown below and see what happens:
50 PRIMT "I SAY HI; YOU SAY BYE. "
The computer sends you an Error message. The computer checks up
on only those instructions that are outside the quotation marks
because those instructions are intended for the computer. Instructions
that are inside the quotation marks are intended for you, so the com-
puter copies them exactly. Move to a blank line but do not clear the
screen. Run the program to see what happens.
Error message 17 appears at line 50, the line in which you intentionally
misspelled PRINT. Error message 17 is called the "syntax error." It
indicates that the instructions were undecipherable to the computer.
(For a complete listing of Error messages, see Appendix D.)
There are several ways to correct an Error message. The easiest solu-
tion is to move the cursor to the line that contains the typing error.
Place the cursor on the offending M in PRIMT and change it to N.
37
Summary of Contents for 65XE
Page 1: ...ATARI 65XE PERSONAL COMPUTER OWNER S MANUAL TM...
Page 3: ...ATARI 65XE PERSONAL COMPUTER TM...
Page 6: ...Part 1 GettingStarted 1...
Page 9: ...4...
Page 23: ...18...
Page 25: ...20...
Page 32: ...Part 2 Programming withATARI BASIC 27...
Page 33: ...28...
Page 59: ...54...
Page 69: ...64...
Page 82: ...Part3 Appendices 77...
Page 83: ...78...
Page 97: ...92...
Page 105: ...100...
Page 125: ...120...
Page 126: ...121 Index...
Page 127: ...122...
Page 134: ...ATARI 1987 Atari Corp All Rights Reserved Printed in Taiwan C072018 001 REV B K l 2 1987...
Page 135: ......