← SAMS Macintosh Programming Techniques 1985

SAMS Macintosh Programming Techniques 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.

PDF page 12

Apple's Macintosh ("Mac") is a remarkable microcomputer. Take it out of the box, turn it on, and insert a disk-you can use it immediately! By placing very sophisticated software inside the machine, Apple provides a friendly user interface that is easy to learn. Because of the Apple-defined standards for this interface, most application programs that run on the Mac can be operated by the user in a short period of time. This does away with a multitude of complicated manuals, and that means more people can and will want to use the Mac. Of course, any powerful application program requires experience to master. Commands and functions have to be read about in the documentation which should always be present for any serious program, but for many common program functions there is a "way of doing it" that is unique to the Macintosh. Shortly after Apple unveiled the Mac, Microsoft released a BASIC interpreter for the machine. Microsoft has written many BASIC interpreters that are well-known and well-regarded by microcomputer users. Microsoft's initial BASIC interpreter for the Mac was not particularly different from those that run on other popular machines. In this regard, it has been disappointing to Macintosh users, because who wants to write a computer program that runs on the Mac just as it runs on another machine? On the Macintosh, one would surely want to take advantage of the powerful user interfaces that Apple provides. Fortunately, Microsoft has since released Version 2.0 of their Maciiiltosh BASIC interpreter. In this version, Microsoft gives the BASIC programmer the tools necessary to write application programs that take full advantage of the Macintosh user interface. That is precisely what this book is about. In this chapter, I show you how to use the Microsoft BASIC program itself. The following chapters cover the various features of the language and how to use them. There are many example programs, and I encourage you to try them out as you read through the book. You should also experiment with your own variations on the basic ideas that I present. What You Will Need To follow the experiments and run the programs in this book, you need a Macintosh computer and Microsoft BASIC Version 2.0. Some of the programs require the Imagewriter printer. It is a good idea to have a printer in any case, since you may want to make listings of your longer programs. For the communications programs and experiments, you need a modem and a cable (I show you how to wire the cable if you choose to build it yourself). A second disk drive is not required but is strongly recommended. Without the second drive, copying data from one disk to another and making disk backups become truly arduous tasks. In a one-drive system, the machine will prompt you to switch disks quite often, and this can easily discourage one from pursuing more complex functions and programs. As of this writing, the Macintosh is available in two basic models. The models differ only in the amount of memory they contain. There is the original Mac, with 128K of memory, and the 2 Macintosh Programming Techniques

Reading notes: Heading 'Maciiiltosh' contains OCR-like character damage in the source text. Page header 'Macintosh Programming Techniques' and page number appear at end of an excerpt, possibly out of reading order.

Printed product names
Macintosh · Microsoft BASIC Version 2.0 · Imagewriter
Languages
English