Kids and the Atari.pdf

(68082 KB) Pobierz
299369849 UNPDF
299369849.005.png
299369849.006.png
I1II11II1I1I111
'f),...
~ ~ .
"'~~ .
'-
BY
Edward H. Carlson
Department of Physics and Astronomy
Michigan State University
Illustrated by
Paul D. Trap
First Printing January, 1983
Second Pri nting March, 1983
299369849.007.png 299369849.008.png 299369849.001.png 299369849.002.png
©1983by
RESTON PUBLISHING COMPANY, INC.
A Prentice-Hall Company
Reston, Virginia
ISBN 0-8359-3670-8
COPYRIGHT © 1983 BY DATAMOST, INC.
This manual is published and copyrighted by DATAMOST, Inc. A" rights are reserved by
DATAMOST, Inc. Copying, duplicating, selling, or otherwise distributing this product is hereby
expressly forbidden except by prior consent of DATAMOST, Inc.
The word ATARI and the Atari logo are registered trademarks of ATARI Inc. Atari Inc. was not in
any way involved in the writing or other preparation of this manual, nor were the facts presented
here reviewed for accuracy by that company. Use of the term ATARI should not be construed to
represent any endorsement, official or otherwise, by ATARllnc.
299369849.003.png
TABLE OF CONTENTS
Acknowledgements
To The Kids
To The Parents
To The Teachers
About Programming
About The Book
Page 2
3
4
5
6
7
INTRODUCTION
1 PRINT, NEW, REM, and RUN
2 Buzz, Inverse, and String Constants
3 List and Memory Boxes
4 Backspace, Cursor Keys, Insert, Delete
5 String Boxes, DIM, LET
6 The INPUT Command
7 Tricks with PRINT
8 The GOTO Command and Break Key
9 The IF Command
10 Introducing Numbers
11 Delay Loops, Sound
12 The IF Command with Numbers
13 Random Numbers and the INT Function
14 Saving to Tape
9
15
21
28
33
38
43
47
51
57
64
68
73
78
GRAPHICS, GAMES, AND ALL THAT
15 Some Shortcuts
16 Graphics Characters, POSITION
17 FOR-NEXT Loops
18 Edit and Run Modes, the Calculator
19 DATA, READ, RESTORE
20 SOUND
21 Color Graphics
22 ASCII Code
23 Secret Writing and the GET Command
24 Pretty Programs, GOSUB, RETURN, END
83
88
92
97
102
107
112
118
122
126
ADVANCED PROGRAMMING
25 Keyboard, ON ... GOTO
26 Snipping and Gluing Strings
27 Switching Numbers with Strings
28 Joystick for Action Games
29 Shooting Stars
30 Arrays
31 Logic: AND, OR, NOT
32 User Friendly Programs
33 Debugging, STOP, CONT
132
136
142
145
149
155
160
166
172
Reserved Words
Answers to Assignments
Glossary
Commands
Error Messages
Index
178
179
203
214
215
217
1
299369849.004.png
Zgłoś jeśli naruszono regulamin