← Using & Programming the Macintosh: Including 32 Ready-to-Run Programs

Using & Programming the Macintosh: Including 32 Ready-to-Run Programs

From the originals

26 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

1840 Using & Programming the Macintosh™ including 32 Ready-to-Run Programs By Frederick Holtz

A book cover with a large brown serif title above an exploded-view illustration of a beige Macintosh computer showing its internal circuit boards, cables, and CRT tube, on a yellowed paper background.

Reading notes: Small number '1840' in the top-left corner is printed as a catalog or series number; reading order places it first. The author name 'By Frederick Holtz' is partly overlapped by a small mark near the 'y' and 'e' letters; spelling appears to be 'Frederick Holtz'. Fine print and any text on the computer's internal parts or small labels are not legible enough to transcribe.

Languages
English
PDF page 1

Using '&? Programming the MacintoshM

1840 Using '&? Programming the MacintoshM including 32 Ready-to-Run Programs 19 ' .. • · BY' Fre'derick Holtz . ' - i

Reading notes: The supplied extraction is noisy, so the headline line "Using '&? Programming the MacintoshM" may contain misread characters around "'&?" and the trailing "M". The value "1840" appears at the top of the extracted copy but is unexplained and may be an OCR artifact; it is listed in printedDates only because it is visible in the supplied copy. The author line "BY' Fre'derick Holtz" contains apostrophes that may be stray marks rather than letters; the name is spelled as extracted and may need checking against the page. Fragments such as "19", "'", "..", "•", "-" and "i" are unclear and may be page marks, decoration, or noise rather than printed copy. Reading order and line breaks are uncertain because the source copy is flattened. The image was not directly available, so transcript is set to an empty string per instructions and the other fields rely only on the supplied copy.

Printed dates
1840
Languages
English
PDF page 2

The image is a plain, entirely blank white page with no artwork, layout elements, or markings visible.

PDF page 3

To my son Robert, whose help on this project was greatly appreciated, and whose faith and trust over the past 16 years have meant more than he could ever know.

Printed dates
16 years
Languages
English
PDF page 4

The image is a entirely blank white page with no visible artwork, layout elements, or text.

Reading notes: No visible text found; the page appears blank white.

PDF page 5

Apple• is a registered trademark of Apple Computer, Inc. IBM• is a registered trademark of International Business Machines Corporation. Multiplan™ is a trademark of Microsoft Corporation. Lotus 1-2-3™ is a trademark of Lotus Development Corporation. Lisa™ is a trademark of Apple Computer, Inc. Macintosh™ is a trademark licensed to Apple Computer, Inc. MacPaint™ is a trademark of Apple Computer, Inc. MacWrlte™ is a trademark of Apple Computer, Inc. MacTerminal™ is a trademark of Apple Computer, Inc. Macintosh Assembler/Debugger™ is a trademark of Apple Computer, Inc. Macintosh Project™ is a trademark of Apple Computer, Inc. MacDraw™ is a trademark of Apple Computer, Inc. Property of U.S. Arm7 Ma.in Post Library Jor.t Stewart •1 GA 31314 FIRST EDITION THIRD PRINTING Printed in the United States of America Reproduction or publication of the content in any manner, without express permission of the publisher, is prohibited. No liability is assumed with respect to the use of the information herein. Copyright © 1984 by TAB BOOKS Inc. Library of Congress Cataloging in Publication Data Holtz, Frederick. Using and programming the Macintosh, including 32 ready-to-run programs. Includes index. 1. Macintosh (Computer) 2. Macintosh (Computer)- Programming. 3. Computer programs. I. Title. QA76.8.M3H65 1984 001.64'2 84-8428 ISBN 0-8306-0840-0 ISBN 0-8306-1840-6 (pbk.) Cover photograph courtesy of Apple Computer Inc.

Reading notes: Garbled OCR in 'Ma.in Post Library', 'Jor.t Stewart', 'U.S. Arm7' and 'MacWrlte', possibly misread characters. Front matter reading order is uncertain.

Printed product names
Macintosh
Printed dates
1984 · 84-8428 · 0-8306-0840-0 · 0-8306-1840-6
Languages
English
PDF page 6

Contents Acknowledgments vii Introduction viii An Evolution in the Microcomputer Market 1 A New Concept-Apple Versus IBM-Super ROMs-Macintosh Critics-The Computer for Everyone- Features of the Macintosh-Items on the Macintosh Desk Top-Software for the Macintosh-Mac Write, MacPaint and More-Specialized Software-Where to Find a Macintosh-The Lisa-Macintosh Connection-Summary 2 Using MacPaint 20 The Graphics Tools-The Menu Bar-Patterns, Patterns, Patterns-Drawing Lines-Some Graphic Results-Shrinking and Enlarging-Using a Few More Tools-Summary 3 Using MacWrite 43 Spacing and Alignment-The Search Selection-Indenting and Tabbing-Changing the Typeface- Printing Your Document-Saving Your Document-Summary 4 Using The Macintosh Finder 68 The Finder Menu Bar-File Handling-Summary 5 Manipulating the Microsoft BASIC Screen 86 Four Windows-Using the Windows-Editing in BASIC-Multiple LIST Windows-Moving Other Windows- The Menu Bar-Summary 6 Programming the Macintosh in Microsoft BASIC 115 A First Program-Clearing the Screen-Two Modes in BASIC-Creating a Loop-More About Loops-

Printed product names
Macintosh · Lisa · MacPaint · MacWrite · Microsoft BASIC
Languages
English
PDF page 7

FOR-NEXT Loops-Going Further with FOR-NEXT Loops-More on PRINT Statements-Variables- Naming Variables-Manipulating Numeric Variables-INPUT Statements-Formulas-Built-in Functions-More String Functions-Another Branch Statement-READ/DATA Statements-Multiple Statement Lines-Logical Operators-Relational Operators-Arrays-Summary 7 Programming Graphics in BASIC 149 The Graphics Screen-CIRCLE Statements-LINE Statements-Use of Color-PSET/PRESET Statements-Animation Techniques-More Ways to Use Graphics Statements-The POINT Function-Summary 8 Macintosh Filekeeping 168 File Reading Program-Advanced File Reading Program-File Writing Program-Another File Writing Program-File Appending Program-Complete Filing Program-File Item Search Program-Partial Item File Search-Summary 9 Pro2ramming the Mouse 178 The ~ OUSE Function-Calling a ROM Subroutine-Putting the Mouse to Work-Summary 10 Ready-to-Run Programs 191 Ohm's Law-Mortgage Payments-Leap Year Calculator-Binary to Decimal Conversion-Checkbook Balancer-Macintosh Typewriter-Alphabetizer-Alarm Clock-ASCII Character Display- Mathematical Circle-Random Lines-Graphic Funnel-Steer Horn-Circle Pattern-Multicircle Pattern-Solar System-Four-pointed Star-Smoking Cigarette-Oriental Prince Picture-Automatic Random Seed-Word Maze-Numbers Guess Game-Computer Numbers Guess-Summary Appendix A ASCII Character Codes Appendix B Non-ASCII Character Codes Appendix C lmageWriter Printer Specifications Appendix D ASCII, Binary, and Hexadecimal Print Codes Appendix E More MacPaint Drawing Samples Appendix F Bar Charts Index 229 230 231 234 236 239 242

Reading notes: Chapter page numbers and dashes may reflect line-break reading order of the table of contents

Printed product names
Macintosh
Languages
English
PDF page 8

Acknowledgments I wish to thank the staff and management of Com- puter Solutions in Leesburg, Virginia, for supplying the Macintosh system used to research and write this book. Many thanks to the staff and management of Frederick Computer Products in Frederick, Mary- land, for providing technical data and support throughout the writing of this book. vii

Reading notes: Hyphenated line breaks in 'Com-puter' and 'Mary-land' may need rejoining during review. Page number 'vii' appears at the end and is uncertain as a page marker.

Languages
English
PDF page 9

Introduction The Apple Macintosh is here, and it can be accu- rately described as a jewel of a computer. Rumored for over a year, the Macintosh is more than anyone expected. It's much more. It may eventually change the way we humans interact with computers, when other manufacturers begin to (and they undoubtedly will) emulate its unique interactive style. This can only benefit the consumer. The Macintosh was first rumored to be a high-level market personal computer, offering an 8088 microprocessor that makes it IBM PC- compatible. This rumor was completely false. Un- like other manufacturers, Apple has chosen to go its own route and has now arrived-with a machine that contains a 32-bit microprocessor, which oper- ates at incredible speed. Hardware is only one fac- tor. There are already more than 500 software packages on the market for the Macintosh, and they give the user tremendous flexibility. And it con- tains a good number of bundled programs, too. viii At this writing, the Macintosh is a brand-new phenomenon. Its operational features seem in- credible by any standard in the microcomputer in- dustry. For years, other computers have been ad- vertised as being flexible, but none comes close to Macintosh. At long last, there really is a computer that offers the experienced programmer high- powered computational capabilities and at the same time offers the beginner an easy-to-use machine- one that's easier than all the rest. This book is more than a simple introduction to the Macintosh. Certainly, it overviews the sys- tem's features, but it helps tell Macintosh's true story by helping you interact with it. This book is dedicated to explaining how to get the most from your machine. Also, if you are considering pur- chasing a Macintosh, this text can function as a valuable source of information needed to decide whether or not Macintosh is the right computer for you. Beginner programmers and users who have never even touched a microcomputer will espe-

Reading notes: Source text is cut off mid-sentence at the end ('will espe-'), suggesting a truncated page. Heading is not clearly printed; the opening section is labeled 'Introduction' and may not be a primary headline.

Printed product names
Apple Macintosh · Macintosh · IBM PC
Languages
English
PDF page 10

dally appreciate the detailed step-by-step chapters on using the Macintosh and programming in Mi- crosoft BASIC. If you've never programmed a com- puter before, you will be able to do so in just a few hours. Additionally, many programs are included that you can type into your computer. You can use them to perform complex mathematical operations in seconds, draw accurate images on the screen, and even play a game or two. The Macintosh is here. It is a force to be reckoned with by the microcomputer industry and a machine that will become your close partner. Macintosh, more than any other computer, is a true extension of you, the user. It doesn't take the place of an inquisitive, alert mind, but it allows that mind to reach into areas not previously explored. Com- pact, powerful, and user-friendly are all terms that accurately describe the Macintosh. I think you will agree that Macintosh truly bridges the gap between people and personal computers. ix

Reading notes: Source text begins mid-sentence and the primary heading is not visible in the supplied copy

Printed product names
Macintosh
Languages
English
PDF page 11

Chapter 1 An Evolution in the MicrocoDlputer Market The microcomputer revolution has been sprung upon us again! A few years ago, most of us predicted that the hardware revolution was just about over for a decade or so. We also predicted that the industry would tum itself toward the task of revolutionizing microcomputer software. Most of these predictions occurred shortly after IBM announced their Per- sonal Computer. The IBM PC seemed to be a quantum leap for microcomputers, and indeed, it was. It was touted as the most sophisticated microcomputer ever of- fered. Most advertisments about the machine cen- tered around the fact that it was the first mass marketed personal computer to contain a micro- processor with 16-bit architecture. For those of you not familiar with computer electronics, the micro - processor, or chip, is the heart of any microcomputer, and the chips architecture determines the amount of data the machine can handle in any one operation. Most pre-IBM PC microcomputers contained eight-bit microprocessors, and many people were impressed with the increased capabilities of the 16-bit systems when they appeared. A NEW CONCEPT Before the 1930s, driving an automobile in- volved learning transmission shift patterns and synchronizing those patterns with the clutch pedal. That combination of coordination and expertise kept a number of people from using the automobile. But in the late 1930s, automobile manufacturers introduced the automatic transmission, a feature that put more people behind the wheel. Personal computers have followed a similar course. From the Apple II through the IBM PC, personal computers have forced people to learn unfamiliar ways of doing familiar things. To operate personal computers, users had to learn about operating systems, study programming languages, decipher cryptic messages, and perform tasks in ways very different from the manual tasks the appli- cation software was supposed to improve. Leaming

Reading notes: OCR error 'MicrocoDlputer' in the heading, likely 'Microcomputer' Chapter heading 'Chapter 1' and running text reading order seem intact but 'tum' likely 'turn'

Printed product names
IBM PC · Apple II
Printed dates
1930s · late 1930s
Languages
English