I Speak BASIC to my Atari.pdf

(59669 KB) Pobierz
294358787 UNPDF
294358787.008.png
294358787.009.png
I Speak BASIC
to My
Aubrey B. Jones, Jr.
[IJ
HAYDEN BOOK COMPANY, INC.
Rochelle Park, New Jersey
Atari®
294358787.010.png 294358787.011.png 294358787.001.png
 
To Alyce, Aubrey III , and Adrienne
Acquisitions Editor: GARY MARKMAN
Production Editor: RONNIE GROFF
Production Assistant: LORI WILLIAMS
Art Director: JIM BERNARD
Compositor: VAN GROUW COMPOSITION CO., INC.
Printed and bound by: THE MURRAY PRINTING COMPANY
Atari is a trademark of Atari , Inc., and is not affiliated with Hayden Book Co., Inc.
Copyright © 1983 by HAYDEN BOOK COMPANY, INC. All rights reserved. No
part of this book may be reprinted, or reproduced, or utilized in any form or by
any electronic, mechanical, or other means, now known or hereafter invented ,
including photocopying and recording, or in any information storage and retrieval
system, without permission in writing from the Publisher.
Printed in the United States of America
2 345 6 7 8 9
PRINTING
83 84 85 86 87 88 89 90 91
YEAR
294358787.002.png 294358787.003.png 294358787.004.png
 
Contents
Part 1
The Hardware (Or The "Boxes") ............... .. ...... 1
Objectives; Typical Data Processing Operation; Basic
Parts of a Computer; Summary; Practice 1
The Software ("The Program") . ..... . . . . . . . . .. 17
Objectives; How Humans Talk to Computers; A BASIC
Program; Atari Keyboards; Atari Power-Up Rules;
Summary; Practice 2
Your First Computer Program ... . .. . . ......... . . .
Objectives; Writing Your First Computer Program , Ex-
ecuting Your Program; Expanding Your Program ; List-
ing Your Program ; Ending Your Program; Summary;
Practices 3, 4, 5
Part 2
Part 3
38
Part 4
More Programming Tools . . .. ... . .. . ... .............. 58
Objectives; Mathematical Operations; Programming
Mathematical Operations; A BASIC Mathematical Pro-
gram-Area of a Rectangle; Print Zones; Practices 6, 7
Scientific Notation ........ . . . ....... ... . . .. .. . . .... . 79
Objectives: Scientific Notation: Review and Feedback;
Practice 8
Relational Operators and IF-THEN/GOTO Statements .. 86
Objectives; Relational Operators; Using IF-THEN State-
ments (Conditional Branching); Using GOTO State-
ments (Unconditional Branching) ; Practices 9, 10
Input Statements . . . . . . ... . ....................
Part 5
Part 6
Part 7
99
Part 8
Objectives; Input Statements: Area of Rectangle Prob-
lem Revisited (Using Input Statements); String Vari-
ables; Practices 11 , 12 , 13
Using the Calculator Mode and Sizing Memory . . . . . . . . 112
Objectives; Bit vs . Byte; How Much Memory Is Used in
BASIC Programs: Summary; Practice 14
Using the Cassette Recorder and the Disk Drive ...... 121
Objectives; The Cassette Recorder and the Disk Drive
as Input/Output Devices; Practices 15, 16, 17
Using FOR-NEXT-STEP Statements ... . ........ . .... 130
Objectives: FOR-NEXT Statements and Loops; Com-
parison of GOTO, IF-THEN, and FOR-NEXT Program
Loops; Loop Flowcharts; Timer Loops; Practices 18. 19
Reading Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 146
Objectives: READ-DATA Statements; Restore Func-
tion; Practice 20
Part 9
Part 10
Part 11
294358787.005.png 294358787.006.png 294358787.007.png
 
Zgłoś jeśli naruszono regulamin