Applesoft Basic Toolbox 1984
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
Image 1
micro COMPUTER books Larry G. Wintermeyer Applesoft™ BASIC Toolbox A Guide to Using the Language and Creating Sequential, Random Access, and Index Files
Book cover with a red title over a photo of an open metal toolbox containing a saw, screwdriver, hammer, wrench, pliers, gears, apples, a walnut, nails, and floppy disks and a circuit board on a beige background.
Reading notes: The small '™' after Applesoft and the 'micro COMPUTER books' logo text are stylized and may be approximated in transcription.
- Languages
- English
PDF page 1
micro COMPUTER books Larry G. Wintermeyer Applesoft™ BASIC Toolbox A Guide to Using the Language and Creating Sequential, Random Access, and Index Files
A book cover photo shows a green metal toolbox filled with red apples, a hand saw, a hammer, a blue caulking gun, a wrench, a gear, screwdrivers, and scattered 5.25-inch floppy disks and a circuit board, against a warm beige gradient background.
Reading notes: The small mark between 'Applesoft' and 'BASIC' is a trademark symbol rendered as ™ above the line; transcribed as printed. The subtitle text partly overlaps the toolbox image, with 'Guide' and 'Random' partially obscured by tools, but the words are legible.
- Languages
- English
PDF page 2
Applesoft BASIC Toolbox
A plain off-white aged page with scattered yellowish speckling and a brown smudge in the upper right corner, with the bold sans-serif title centered in the upper third.
Reading notes: Faint dark marks near the upper right corner and a small pencil-like mark are not legible text and were not transcribed.
- Printed product names
- Applesoft BASIC Toolbox
- Languages
- English
PDF page 3
Applesoft BASIC Toolbox
Applesoft BASIC Toolbox Larry G. Wintermeyer .,,,•.,,, Addison-Wesley Publishing Company Reading, Massachusetts • Menlo Park, California London • Amsterdam • Don Mills, Ontario • Sydney
Reading notes: Decorative mark '.,,,•.,,,' before publisher name is unclear
- Printed product names
- Applesoft BASIC Toolbox
- Languages
- English
PDF page 4
Library of Congress Cataloging in Publication Data Wintermeyer, Larry G. Applesoft Basic toolbox. (Addison-Wesley microcomputer books popular series) Includes indexes. 1. Apple computer-Programming. 2. Basic (Computer program language) I. Title. II. Series. QA76.8.A66W56 1983 001.64'24 82-22710 ISBN 0-201-14775-0 Apple, Apple II, Apple Ile, and Applesoft BASIC are trademarks of Apple Computer, Inc. Copyright© 1984 by Addison-Wesley Publishing Company, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada. ISBN 0-201-14775-0 ABCDEFGHIJ-HA-8987654
Reading notes: Catalog number '82-22710' may be a control number rather than a date; listed as printed. Copyright line OCR text 'Ile' likely refers to 'IIe' and is preserved as printed.
- Printed product names
- Apple II · Apple Ile · Applesoft BASIC
- Printed dates
- 1983 · 1984 · 82-22710
- Languages
- English
PDF page 5
Using Applesoft BASIC
Contents Part I Using Applesoft BASIC 1 1 Getting Started 3 A Note on Redundance 4 Apple Ile versus Apple II + 5 2 DOS Control Commands 6 The INIT Command 8 Making Backup Copies 11 The SAVE Command 13 The CATALOG Command 14 The LOAD Command 16 The RUN Command 18 The RENAME Command 19 The LOCK Command 20 The UNLOCK Command 22 The DELETE Command 23 Other DOS Commands 24 3 The HOME Instruction 26 4 The NEW Instruction 30 5 The LIST Instruction 35 LIST: Format 1 35 LIST: Format 2 38 6 The DEL Instruction 42 7 The REM Instruction 45 8 The SPEED Instruction 49 9 Assigning Variable Names 53 v
Reading notes: Apple Ile may be an OCR misreading of Apple IIe Table of contents page numbers are present but no body text was supplied
- Printed product names
- Apple Ile · Apple II
- Languages
- English
PDF page 6
vi I Contents 10 The INPUT Instruction 70 INPUT: Format 1 70 INPUT: Format 2 70 11 The PRINT Instruction 80 12 The GOTO Instruction 93 13 The ON GOTO Instruction 97 14 The END Instruction 101 15 The Screen Control Instructions 103 Methods of Clearing a Line 111 16 The GOSUB I RETURN Instructions 113 17 The ON GOSUB Instruction 121 18 The POP Instruction 125 19 The LET Instruction 127 Basic Numeric Operations in Applesoft 133 Arithmetic Functions in Applesoft 139 String Functions in Applesoft 151 20 The IF Instruction 170 21 The FOR I NEXT Instruction 179 22 Nested FOR I NEXT Instructions 183 The Screen Editing Functions 186 Editing Lines with Multiple Instructions Summary of Edit Keys and POKE Functions 23 The GET Instruction 197 194 196 Using GET to Accept a Yes/No Response 200 24 The DIM Instruction 202 25 The READ I DATA I RESTORE Instructions 210 26 The TRACE I NOTRACE Instructions 216 27 The PEEK Instruction 219 Some Useful PEEK Addresses 220
Reading notes: Table of contents lists chapter titles and page numbers with some uncertain alignment in extraction
- Languages
- English
PDF page 7
Contents I ~ii 28 The POKE Instruction 221 Some Useful POKE Addresses 223 29 The ONERR GOTO Instruction 225 30 The STOP I CONTinue Instructions 228 31 The FRE(O) Instruction 233 32 Instructions Relating to Machine Language Routines 241 The CALL Instruction 241 The USR(Variable) Instruction 242 The LOMEM Instruction 243 The HIMEM Instruction 243 33 Other Applesoft Instructions 244 The DEF FN Instruction 244 The CLEAR Instruction 245 The TEXT Instruction 246 The POS(O) Instruction 246 The FP Instruction 246 The PR# Instruction 247 The IN# Instruction 247 Low-Resolution Graphics Instructions 248 High-Resolution Graphics Instructions 249 Game Controls 250 Magnetic Tape 250 Part II Creating and Using Disk Files 251 1 Information Storage on Disks 253 2 Introduction to DOS Disk Instructions 257 The MON I NOMON Instructions 260 The OPEN Instruction 261 The APPEND Instruction 266 The WRITE Instruction 271 The READ Instruction 275 The CLOSE Instruction 280 The ONERR GOT Instruction (with Sequential Files) 280 The VERIFY Instruction 282 The MAXFILES Instruction 283
Reading notes: Source is a table of contents; no primary heading or advertised products are present.
- Languages
- English
PDF page 8
viii I Contents 3 The GET Subroutine 284 Why Use the GET Subroutine? 284 Instructions for Using the GET Subroutine 285 The GET Subroutine Listing 288 4 Serial and Sequential Disk Files 295 A General Introduction to Serial and Sequential Files 296 Problem Specifications 301 The Sequential File CREATE Program 306 The Sequential File HELLO Program 309 The Sequential File APPEND Program 316 The Sequential File UPDATE Program 334 The Sequential File LIST Program 358 The Sequential File SEARCH Program 364 5 Random Disk Files 378 A General Introduction to Random Files 379 Problem Specifications 384 The Random File CREATE Program 391 The Random File HELLO Program 395 The Random File UPDATE Program 398 The Random File LIST Program 417 6 Index Disk Files 437 A General Introduction to Index Files 438 Problem Specifications 445 The Index File CREATE Index Program 452 The Index File CREATE Data Program 455 The Index File HELLO Program 457 The Index File UPDATE Program 459 The Index File LIST Program 485 The Index File SEARCH Program 498 Appendix ASCII Character, Binary, and Decimal Table 508 Index 511
Reading notes: Source is a table of contents; no headline or advertised products present Page numbers appear as printed, no dates or prices
- Languages
- English
PDF page 9
The image is a entirely blank white page with no visible artwork, layout, or text.
Reading notes: No visible text or graphics appear anywhere on the page, so the transcript is empty.
PDF page 10
1. Getting Started This book is intended for use by either the beginning or the experienced programmer. Either person should find the material helpful in writing Applesoft programs. For the beginning programmer the first half of the book includes detailed exam- ples of each of the Applesoft instructions. Each instruction is explained using the format of 1. Instruction name 2. Instruction format 3. Examples of instruction code 4. Purpose of the instruction 5. Rules for use 6. Illustration of the rules (examples) The instructions are presented in a sequence in which understanding of each new instruction is based on an understanding of the instructions already presented. It is important for the beginning programmer to spend time going through the programs included with each instruction. The programs show more than just how to code each instruction. They show how the instruction is used in conjunction with other related instructions. They point out good and bad programming techniques. They provide a visual reenforcement by seeing the instructions in action. The amount of time spent by the beginning programmer on the first half of the text will determine how easily the disk examples in the last half of the text will be understood. Although an explanation is included with each program, the beginner should study the program code to obtain a better understanding of each instruction and coding style used. A book on programming cannot be read as a normal book would be read. The examples must be read and reviewed until the reader has a thorough understanding of what each instruction does. The experienced programmer who knows BASIC but does not know Applesoft BASIC should go through the first half of the book looking specifically at the coding rules. By scanning the rules the experienced programmer will be able to identify differences between Applesoft and other BASIC languages. Even the person who already knows Applesoft may want to go through the programs to check out the coding style of another programmer. The quickest way to learn programming is to study someone else's code and to extract the best from the examples of others. 3
- Printed product names
- Applesoft · Applesoft BASIC
- Languages
- English
PDF page 11
4 / Applesoft BASIC Toolbox For either the beginning or the experienced programmer, the first half of the book includes good examples of how each instruction is used, and the programs provide strong reenforcement of the rules for coding each instruction. The second half of the book covers the instructions related to using various types of disk files. A simple name and address system is used to illustrate the coding logic for three access methods. Programs related to working with sequential files, random files, and index files are listed and explained. The disk programs illustrate the logic for creating disk files, updating disk files, and inquiry/listing operations. You may be overwhelmed by the size of some of these programs. But if each program is studied in small sections (called modules or routines), you will be sur- prised at how easy they are to understand. The first half of the book will come in handy as a reference guide as you study the disk programs. You may want to flow- chart or draw a diagram tracing the logic of the more difficult parts of the disk examples. The disk programs are intended to serve as models from which you can copy and build other disk oriented programs. The logic for these programs changes very little from application to application. The screen design, names of the variables, and amount of information processed vary, but the basic program structure remains the same. Again, the purpose of the example disk programs is to serve as a model from which you may build your own program. Use the examples when writing disk programs which create, update, and work with disk files. A Note on Redundance The random example contains some redundant information which was presented in the sequential example, and the index example contains some redundant information from the random example. The redundance is intentional to allow each chapter to be used individually and to provide reenforcement to newer programmers. If the narrative sounds too redundant and you feel you already have a complete understanding of the topic, skim the material until new information is encountered.
Reading notes: Running header 'Applesoft BASIC Toolbox' and page number '4 /' appear at top; no primary headline is clearly identifiable in the supplied copy.
- Languages
- English