# Applesoft Basic Toolbox 1984 — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-8e585b72a7f880020780fa60c2d44310b412eb10c801f431ed537ec0dffaa48d)

Transcribed text:

micro COMPUTER books

Larry G. Wintermeyer

Applesoft™ BASIC Toolbox

A Guide to Using the Language and Creating Sequential, Random Access, and Index Files

Image description: 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

[Original Image 1](https://www.vintageapple.net/files/e3630e410a5bc2e11ecb7a75e4e72e837a6798fd4d681c0d00a864cdf8a4b567/d351427343061f462a14e26e.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-7c7958ab50544c51dbbc87fe6a87a0da8f3907e56a31f664298ce2c73d099f03)

Transcribed text:

micro COMPUTER books

Larry G. Wintermeyer

Applesoft™ BASIC Toolbox

A Guide to Using the Language and Creating Sequential, Random Access, and Index Files

Image description: 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

[Original PDF page 1](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-fc13723a6eb1e245697d62dba7b6d9cef3052fb5135b1da48ee22ebebef3e9ac)

Transcribed text:

Applesoft BASIC Toolbox

Image description: 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

[Original PDF page 2](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-ea9e96230c6f57495496d3cc6685ab503de4b4776cc137df40b94c6374f5a409)

Applesoft BASIC Toolbox

Transcribed text:

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

[Original PDF page 3](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-e58f7ce56334594a77a7649f93aee18feafd454ce38cabeafaeca10c0d5bc4e0)

Transcribed text:

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

[Original PDF page 4](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-3429f2f152d49ff63818a5fe002f96bfda41a291b1a6dd1e3c8bc817ca4321f5)

Using Applesoft BASIC

Transcribed text:

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

[Original PDF page 5](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-b95366d7a3e5663403e1d7955fe9708eecb2f3a53e08afa5f3cb81276193bb0f)

Transcribed text:

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

[Original PDF page 6](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-ac40ea9e3aae7dbfe38aa1f9456541feea9fe7a5d785db6928a5b9bbc218c115)

Transcribed text:

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

[Original PDF page 7](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-b23fdaa93f4a8417b9c2eb4505ad08fdf7c4e6c9a78b9a151b581867bc4507a5)

Transcribed text:

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

[Original PDF page 8](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-be214a508d1244245836751f5df4419f1af7ef61a34ebabc10d0908b5158338a)

Image description: 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.

[Original PDF page 9](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-fbdc4e09526d62e528235f17fb4120399fa01cf4876c475054d2cd8e41ba62a8)

Transcribed text:

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

[Original PDF page 10](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/1#scan-11a68d2ff1bdfb700cee14e33b092cdca94cfbb3e2514ed38fca0736597507fe)

Transcribed text:

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

[Original PDF page 11](https://www.vintageapple.net/files/ae1ccb030dc4de7a63ad9a0613a1874a464f99f88ac9793b353b75a6aa6be501/Applesoft_Basic_Toolbox_1984.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-applesoft-basic-toolbox-1984-8a2ce9/2.md)
