← Learning Basic For The Macintosh 1985

Learning Basic For The Macintosh 1985

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

COMPUSOFT LEARNING SERIES MICROSOFT® LEARNING BASIC FOR THE MACINTOSH™ By David A. Lien NEW MICROSOFT 2.0 VERSION

A book cover showing a beige Apple Macintosh computer with keyboard and mouse in front of a dramatic blue and pink cloudy sky, with bold title text across the top and bottom.

Reading notes: The small 'MICROSOFT®' label above 'LEARNING BASIC' is stylized and slightly raised; reading order placed it before the main title. Series name 'COMPUSOFT' is partly stylized and the 'COMPU' portion is small; spelling taken as COMPUSOFT.

Languages
English
PDF page 1

COMPUSOFT LEARNING SERIES MICROSOFT® LEARNING BASIC FOR THE MACINTOSH™ By David A. Lien NEW MICROSOFT 2.0 VERSION

A book cover with a blue-to-pink cloudy sky backdrop showing a Macintosh computer with keyboard and mouse on a white surface, with a Compusoft Learning Series logo at top and bold title text.

Reading notes: Small 'MICROSOFT' and 'MACINTOSH' trademark marks and the 'MICROSOFT' above 'LEARNING BASIC' are rendered in small or stylized type and may be approximated. Title is set in a stylized chrome-like font for 'COMPUSOFT' and 'LEARNING SERIES'; spelling rendered as shown.

Languages
English
PDF page 2

MICROSOFT BASIC for the

---MICROSOFT-· -- BASIC ----for the--- by David A. Lien ~QI) . Iii COMPUSOFT® PUBLISHING A OIV15101'I OF COMPUSOn. INC • SAN DIEGO

Reading notes: The title line "BASIC ----for the---" is incomplete, so the book subject after "for the" is not legible in the supplied copy. Fragments such as "~QI)", "Iii", and "A OIV15101'I" are garbled and could not be confidently read. The footer "A ... OF COMPUSOFT, INC • SAN DIEGO" is partially garbled, so the exact wording (e.g., "DIVISION OF") is uncertain. Reading order and layout are uncertain because the supplied text was extracted locally and not verified against the image. Transcript is intentionally empty because the exact extracted text is preserved separately.

Printed product names
MICROSOFT BASIC · COMPUSOFT PUBLISHING
Languages
English
PDF page 3

Copyright© 1985 by CompuSoft Publishing, A Division of CompuSoft, Inc. San Diego, CA 92119 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 prior written permission of the publisher. No patent liability is assumed with respect to the use of the information contained herein. While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. Portions of the material contained herein were originally created by the author for Radio Shack in support of the TRS-80 computer. CompuSoft® is a registered trademark of CompuSoft, Inc. This book contains official CompuSoft® software. Microsoft and the Microsoft logo are registered trademarks of Microsoft Corporation, and MS is a trademark of Microsoft Corporation. Apple is a registered trademark and Macintosh is a trademark licensed to Apple Computers, Inc. International Standard Book Number: 0-932760-34-1 Library of Congress Catalog Card Number: 85-71339 10 9 8 7 6 5 4 3 2 1 Printed in the United States of America.

Reading notes: Copyright line OCR text includes spacing irregularities; '1985' and Library of Congress number '85-71339' are taken as printed.

Printed product names
CompuSoft® · TRS-80 · Microsoft · MS · Apple · Macintosh
Printed dates
1985 · 85-71339
Languages
English
PDF page 4

A IF®IT~®IID~Il W@lt® JFIT®mID ~Iln® Aunl1Iln®IT In my note for the first edition, I said the Mac could well be the begin- ning of a new generation of computers - a machine that could truly be called "brand-new." Apparently Microsoft agreed. They developed a Version 2.0 BASIC for the Mac and created a language with features that BASIC never had before - features that go hand in band with the Mac's innovative capabilities and user-friendly personality. Of course, BASIC is still BASIC, an easy to learn and easy to use pro- gramming language with lots of powerful functions and statements. In this revised edition, I make sure that learning to do all the "new stuff' doesn't interfere with understanding the "ba8ics of BASIC." The Mac is easy and non-threatening to use and so is this book. Have fun with both of them as you learn. Let your imagination wander. I'll supply all the facts and techniques we'll need. Remember, the real enjoyment begins when your imagination takes over and the computer becomes a tool under your control. You become the master - not the other way around! Dr. David A. Lien San Diego - 1985 Iii

Reading notes: OCR-damaged characters in the running header and some words such as 'band' and 'ba8ics' are uncertain No primary heading is clearly identifiable in the supplied copy

Printed product names
Mac · BASIC · Version 2.0 BASIC · Microsoft
Printed dates
1985
Languages
English
PDF page 5

The following played key roles in the creation of this book: Technical Director: Dave Waterman Project Coordinator: Inez Goldberg Technical Researchers: Dan Gookin Morgan Davis Jody Bailey Editorial Director: Gary Williams Production Coordinator: Janice Scanlan Cartoonist: Bob Stevens Iv

Reading notes: Trailing 'Iv' may be an OCR artifact or page marker; uncertain.

Languages
English
PDF page 6

Learning Microsoft BASIC for the Macintosh is organized into four major sections: A. Fifty-one chapters which teach how to use the many capabilities of your Macintosh ... in small enough bites so you won't choke. Many chapters include check points and examples. In most chapters there are Exercises. H you're studying alone, use them to test yourself and exercise your creativity. H you're studying with a class, your instructor may use them to supplement his own. B. A section with the Answers to the Exercises. C. A section with Appendices which provide useful reference tables and charts. D. An Index, for easy reference after you've learned it all but forgotten where you learned it. The Computer helps you to learn ... a sort of "Computer Aided Instruction." v

Reading notes: Several characters appear damaged or missing, such as the checkbox-like glyphs before 'you're studying' and the stray 'A' and 'H' markers, making some reading spans uncertain. The page marker 'v' and the closing text lack clear context for reading order.

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

A Personal Note From The Author iii Acknowledgements iv Introduction v Section A: Microsoft BASIC Tutorial 1 Part 1. Getting Started 3 0 Setting It Up 5 1 The Desktop 7 2 Computer Etiquette 13 3 Using The Editor 21 4 Expanded Program 26 Part 2. BASIC Fundamentals 35 5 Math Operators 36 6 Scientific Notation 46 7 Using ( ) And The Order Of Operations 49 8 Relational Operators 54 9 It Also Talks And Listens 60 10 Calculator Or Immediate Mode 65 11 SAVEing And LOADing Using Disk 72 12 FOR-NEXT Looping 76 13 Son Of FOR-NEXT 86 14 Formatting With TAB 97 15 Grandson Of FOR-NEXT 103 16 The INTeger Function 109 17 More Branching Statements 120 18 Random Numbers 130 19 READing Data 141 vi

Reading notes: Table of contents page numbers and chapter headings have irregular spacing; reading order is inferred from the list layout.

Printed product names
Microsoft BASIC
Languages
English
PDF page 8

Table of Contents vii Part 3. Strings 149 20 Smorgasbord 151 21 The ASCII Set 161 22 Strings In General 168 23 Measuring Strings 173 24 VAL And STR$ 179 25 Having A Ball With String 183 26 TIME$ And DATE$ 195 Part 4. Variable Precision And Math 199 27 What Price Precision 1 200 28 Intrinsic Math Functions 209 29 The Trigonometric Functions 218 30 DEFined FuNctions 223 Part 5. Display Formatting 227 31 Video Display Graphics 228 32 Intermediate Graphics 236 33 Formatting With LOCATE 246 34 Graphing Trig Functions 251 35 INKEY$ And INPUT$ 255 36 PRINT USING 263 37 PRINT USING •• Round 2 273 38 Using A Printer 281 Part 6. Arrays 287 39 Arrays 288 40 Search And Sort 302 41 Multi·DIMension Arrays 310 Part 7. Miscellaneous 321 42 PEEK And POKE 322 43 Logical Operators 329 44 A Study Of Obscurities 340 45 Advanced Graphics 350 46 Introduction To Data Processing 357 47 Advanced SA VEing, MERGEing, And CHAINing 367

Reading notes: Source is a table of contents with no advertised products, prices, or dates; headline is null because no primary heading is printed as a headline.

Languages
English
PDF page 9

viii Table of Contents Part 8. Program Control 377 48 Flowcharting 378 49 Debugging Programs 383 ' 50 Chasing Bugs 393 : 51 Chasing The Errors 397 Section B: Answers To Exercises 405 Section C: Appendices 429 Appendix A -- ASCII Chart 430 Appendix B -- Reserved Words 434 Appendix C -- Error Messages 436 Appendix D -- The Apple Menu 442 Section D: Index 451

Reading notes: Source is a table of contents; no primary heading is printed, so headline is null. Some characters such as the dashes and colons appear as printed artifacts and may be OCR-affected.

Languages
English
PDF page 10

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

Reading notes: No visible text anywhere on the page; transcript and printed fields left empty accordingly.

PDF page 11

A plain, entirely blank white page with no artwork, layout, or markings visible.

Reading notes: No visible text appears anywhere in the image; transcript and printed fields are left empty.