← Apple Basic for Business for the Apple II 1980

Apple Basic for Business for the Apple II 1980

From the originals

13 scans

Machine-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

Apple BASIC For Business

Apple BASIC For Business for the Apple II Alan J. Parker/John F. Stewart

A cream-colored book cover with red bold sans-serif title text inside red rectangular frames, with the author names printed at the bottom.

Reading notes: The Roman numeral II in 'Apple II' is rendered in a stylized form and is transcribed as II.

Printed product names
Apple II
Languages
English
PDF page 1

Apple BASIC For Business for the Apple II Alan J. Parker/John F. Stewart

A red-on-cream book cover layout with the title set in large red display type inside a red bordered box, a subtitle below in a second bordered panel, and the author names in red at the bottom.

Reading notes: The 'II' in 'Apple II' is rendered as a Roman numeral in stylized type and is transcribed as II.

Printed product names
Apple II
Languages
English
PDF page 2

Apple BASIC for Business

Apple BASIC for Business for the Apple 1I Alan J. Parker Associate Professor of Management School of Business and Organizational Science Florida International University Miami, Florida John F. Stewart Associate Professor of Management Science School of Business University of Miami Coral Gables, Florida Rest on Publishing Company, Inc. 1 lf'nlll A Prentice-Hall Company ~ Reston. Virginia

Reading notes: The product name 'Apple 1I' may be an OCR misreading of 'Apple II'. The publisher line '1 lf'nlll' and the tilde line '~ Reston. Virginia' are garbled and unclear. Irregular spacing in the supplied copy may affect reading order and the headline boundary. The headline is inferred from the top title line and should be verified against the image.

Printed product names
Apple 1I
Languages
English
PDF page 3

Apple BASIC for business for the Apple II

Apple II is a trademark of Apple Computer. Library of Congress Cataloging in Publication Data Parker, Alan J Apple BASIC for business for the Apple II Includes bibliographical references and index. l. Basic (Computer program language) I. John F. Stewart, joint author. II. Title. HF5548.5.B2P36 001.6 1 424 81-11 86 ISBN 0-8359-0228-5 ISBN 0-8359-0226-1 {pbk.) © 1980 1 198 1 by Al a n J. Parke r a nd Jo hn F . Stewart All rights reserved. No part of this book may be reproduced in any way, or by any means, without permission in writing from the publisher. 10 9 8 7 6 5 4 3 2 Printed in the United States of America

Reading notes: Catalog number '81-11 86' and 'HF5548.5.B2P36' are garbled in the OCR text and may be misread. Copyright year and publication data formatting is irregular due to extraction spacing.

Printed product names
Apple II · Apple BASIC for business for the Apple II
Printed dates
1980 · 81-11 86
Languages
English
PDF page 4

To our parents, David, Sally, Harold, and Ethel and to my wife, Ann

A nearly blank off-white page with two centered lines of black sans-serif dedication text in the middle of the page and no artwork or images.

Reading notes: Text is a dedication rather than an advertisement; no headline, products, prices, or dates are visible. Paper has faint uniform discoloration and scan noise but no other printed content is legible.

Languages
English
PDF page 5

Contents 1 I Introduction 1 The Impact of Computers on Society, 3 Why Use BASIC?, 4 How to Use a Computer, 5 Communicating with the Apple, 6 2 I Performing Simple Calculations 9 Writing a Program, 11 Running a Program, 14 Modifying the Program, 20 Printing Many Values on a line, 26 Handling Alphabetic Titles, 29 Summary, 34 Problems, 36 3 I Data Entry 37 Entering Data from a Terminal, 39 Processing Many Records, 46 Program Verification, 53 How to Catch Some Errors in Data, 53 Summary, 60 Problems, 62 4 I Sequential Files 65 Setting up a File, 67 Reading a File, 76 Finding a Record in a File, 80 Correcting Records in a File, 86 Copying a File, 92 Summary, 93 Problems, 94 v

Reading notes: Source is a table of contents; no advertised products, prices, or dates are visible in the supplied copy.

Printed product names
Apple
Languages
English
PDF page 6

vi I Contents 5 I Writing Reports from Sequential Files 97 How to Accumulate Totals, 99 How To Calculate Subtotals, 109 Report Writing by Computer, 121 Summary, 123 Problems, 124 6 I Adding and Deleting Records 125 Adding Records to a File, 127 Deleting Records from a File, 146 Summary, 15 5 Problems, 156 7 I Updating Sequential Files 157 Updating Files, 159 Updating with Missing Transactions, 169 Updating with Coded Transactions, 177 Summary, 184 Problems, 185 8 I Using Lists and Tables 187 Summary Output, 189 Reference Tables, 193 Sorting lists and Tables, 207 Summary, 214 Problems, 215 9 I Using Direct Access Files 217 Creating a Relative Record File, 219 Reading and Printing a Relative Record File, 222 Changing Values in a Relative Record File, 224 Updating Master Records in a Relative Record File, 226 Querying Records in a Relative Record File, 231 Summary, 233 Problems, 234 10 I Use and Design of Complex Programs 235 Using Canned Programs, 237 Structured Programming, 242 Summary, 251 11 I Advanced Concepts 253 Editing on the Apple, 255 Graphics on the Apple, 258 Use of EXEC Files, 264 Output Formatting, 267 Summary, 27 1 12 I Conclusion 273 Batch, On-line and Real-Time Processing, 275 Routine Business Applications, 276 First-Time Users, 276 Conclusion, 283

Reading notes: Table of contents lists chapter titles and page numbers; no product names, prices or dates are advertised.

Languages
English
PDF page 7

Appendices A: Summary of BASIC Commands and Instructions, 287 B: Sorting, 290 C: Selected Error Messages, 293 D: How To ... , 294 E: Initialization of Diskettes, 294 F: More about Diskettes, 295 Index Contents I vii 285 297

Languages
English
PDF page 8

Preface Courses in computer programming and management information systems are required in most collegiate business schools. Such courses teach the stu- dent to think logically and they provide an introduction to computer termi- nology. But a knowledge of the terminology is not enough to generate an understanding of computers, and logical thinking by itself does not unlock the power of computers. Computers are used to solve problems, and stu- dents must learn how computers can help them solve problems. In this text we have presented problems from the business data process- ing environment as a reason for learning BASIC. Of course, not all facets of a problem can be explained at once, since different parts require different approaches and tools. But step by step, as we look at the many facets of a problem and introduce the necessary BASIC statements, the student will collect the tools needed to solve all these problems. Because of the emphasis on problem-solving, the focus of this book is the point at which problem elements meet language capabilities. The BASIC language fundamentals, syntax and grammar, are not the dominant elements - they are subordinate to the problem requirements. So language capabilities that do not fit clearly into a problem context were omitted for the purposes of this text. Unlike most introductory BASIC books, this book uses files extensively. All business applications use files, and most file instructions are different for the various brands of computers. This book was written specifically for the Apple II microcomputer with DOS Version 3.2. All programs presented are compatible with DOS Version 3.3. Since all programs, examples, and problems deal with business, all listings and output were produced using a line printer with 132 character lines. Ix

Printed product names
Apple II · DOS
Languages
English
PDF page 9

x I Preface We would like to express our gratitude to Pat Fiorentino, Parviz Moarefi, Alan Bigio, and Paul Fraynd all with International Computer Systems, Inc., of Coral Gables for their assistance. Our thanks also to Maria Martinez who did an excellent job typing the manuscript. Our special thanks to Dr. Val Silbey of Ball State University, coauthor of the first book in this series for his valuable contributions. Alan J. Parker John F. Stewart

Languages
English
PDF page 10

1 / Introduction 1

A mostly blank white page with a horizontal rule above and below the centered heading "1 / Introduction" in large sans-serif type, and a small page number "1" in the lower right corner.

Reading notes: Page number "1" in lower right corner is small and transcribed as a separate element; reading order is heading then page number.

Languages
English
PDF page 11

THE IMPACT OF COMPUTERS ON SOCIETY

The Impact of Computers on Society I 3 At the end of this chapter you should be able to: e Understand the importance and impact of computer usage • Sign-on and sign-off the Apple computer e Understand how the Apple reacts to system commands Everyone Living in the United States today is affected by computers. The federal government uses computers in almost all of its departments. The So- cial Security Administration and the Internal Revenue Service are highly computerized. State and local governments use computers for tax collections and assessments. Businesses and utilities use computers for customer billing. Banks and other financial organizations use computers to handle customer accounts. Hospitals use computers for hospital administration and patient billing. Unless you Live as a hermit in a cave, you are affected everyday in some way by computers. The computer revolution is approximately thirty years old. Since 1946 when the ENIAC (the first electronic digital computer) began operating, the changes that computers have wrought have been prodigious. All areas of our society have been, and are being, touched by computers. From the time we read the morning newspaper (typeset by computer) until we go to sleep watching television (computer allocated programs), we are constantly using computers either directly or indirectly. The effect of the Computer Revolution can be compared to the Indus- trial Revolution, which also radically changed society. Both revolutions changed work and leisure activities. With respect to work, no occupations were left untouched by the Industrial Revolution, except artisan crafts (sculptors, painters, etc.). Now, approximately two hundred years after the beginning of the Industrial Revolution, there are no coopers (barrel makers), wainwrights (horse drivers), millers (flour makers) or weavers (cloth makers) in the old sense of those occupations. The products or services are still sup- plied, but the methods of production have been radically altered. Work hours at the beginning of the Industrial Revolution were dawn to dusk, six days a week, leaving limited time for leisure activities. Now leisure is avail- able during long weekends and after working hours. The impact of the In- dustrial Revolution may aid us in imagining the breadth of changes that will result from the computer revolution. Initially, the few digital computers available were used for numerical calculations ("number crunching") by an elite group of mathematicians, en- gineers and scientists. Since then, radical changes in the cost, design, and use of computers have occurred. Today, computers are no longer the exclusive tool of mathematicians and scientists. More computers are used in busi- nesses, such as insurance, banking, retailing, utilities, manufacturing and hospitals, than are used in scientific organizations. Al.most daily, television and newspapers report new uses of computers. The computer has taken the Performance Objectives THE IMPACT OF COMPUTERS ON SOCIETY

Reading notes: Chapter heading and page number 3 appear in the running header; reading order of marginal Performance Objectives text is uncertain. Some words are hyphenated or spaced irregularly from extraction, e.g. 'Lnes' style spacing in 'Ind-ustrial' and 'Al.most'.

Printed product names
Apple
Printed dates
1946
Languages
English