# Programming with Macintosh Programmer’s Workshop — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/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-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-f2cdee107e7ad11a3f6bb635a7cf6bf10a8a017eab4e49a1c09b4c153b06aaa3)

PROGRAMMING WITH MACINTOSH PROGRAMMER'S WORKSHOP

Transcribed text:

THE MACINTOSH PERFORMANCE LIBRARY

PROGRAMMING WITH
MACINTOSH
PROGRAMMER'S
WORKSHOP

JOEL WEST

File Edit Find Format Windows Markers

Plus30:Develop:MPW:Worksheet
link -w -o DrTest.p.tool -ot MPST -oc "MPS " "DrTest.p.o" ∂
    Plus30:Develop:MPW:Libraries:MyLib.o Plus30:Develop:MPW:Libra
Say -f 90 -r 200 "DrTest is linked."
Move -y DrTest.p.tool DrTest

vi PrTest.p
make PrTest
cd 'Plus30:Develop:MPW:Sources:PrDrvr:'
Pascal -k Plus30:Develop:MPW:Sources:MyLibs -i Plus30:Develop:MPW:Sou
Say -f 90 -r 200 "PrTest is compiled."
Rez Types.r PrTest.r -o PrTest
link -w -o PrTest -ot MPST -oc "MPS " "DrTest.p.o" ∂

Plus30:Develop:MPW:Quit
"List current windows so it's easy to re-activate

Plus30:Develop:MPW:UserStartup
Set AIncludes "{Includes}AIncludes:";
Set CIncludes "{Includes}CIncludes:";
Set PInterfaces "{Includes}PInterfaces:";
Set RIncludes "{Includes}RIncludes:";

MPW Shell

"·"  ›  {Worksheet} §

BANTAM COMPUTER BOOKS

Image description: A dark book cover with a large cream serif title over a grey background showing colorful stylized hand tools and a faux Macintosh MPW shell window overlaid with monospaced code.

Reading notes: Small monospaced code text overlapping tool illustrations is partly obscured and some characters, such as the line ending in 'Libra' and 'Sou', are cut off. The Bantam logo at top left is cropped, so the publisher name is only partially legible; reconstructed as BANTAM COMPUTER BOOKS from the visible fragments. Overlapping window text such as 'Plus30:Develop:MPW:Worksheet' and the line 'link -w -o PrTest' is partly hidden behind other windows.

Printed product names: Macintosh Performance Library · Macintosh Programmer's Workshop · MPW Shell

Languages: English

[Original Image 1](https://www.vintageapple.net/files/44bbbb18e21466bb6b9dbc9edaa5a04b597faa0b82adc7a4b72c32a0221ec42c/eace9854ac00324060bbea3a.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-be31c1d25af6afe5960595ca65704eca1342da80028b14b74ec63f95a2f04a70)

PROGRAMMING WITH MACINTOSH PROGRAMMER'S WORKSHOP

Transcribed text:

THE MACINTOSH PERFORMANCE LIBRARY

PROGRAMMING WITH
MACINTOSH
PROGRAMMER'S
WORKSHOP

JOEL WEST

 File Edit Find Format Windows Markers

Plus30:Develop:MPW:Worksheet
link -w -o DrTest.p.tool -ot MPST -oc "MPS " "DrTest.p.o" ∂
 Plus30:Develop:MPW:Libraries:MyLib.o Plus30:Develop:MPW:Libre
Say -f 90 -r 200 "DrTest is linked."
Move -y DrTest.p.tool DrTest

vi PrTest.p
make PrTest
cd 'Plus30:Develop:MPW:Sources:PrDrvr:'
Pascal -k Plus30:Develop:MPW:Sources:MyLibs -i Plus30:Develop:MPW:Sou
Say -f 90 -r 200 "PrTest is compiled."
Rez Types.r PrTest.r -o PrTest
link -w -o PrTest -ot MPST -oc "MPS " "DrTest.p.o" ∂

Plus30:Develop:MPW:Quit
*list current windows so it's easy to re-activate

Plus30:Develop:MPW:UserStartup
Set AIncludes "{Includes}AIncludes:";
Set CIncludes "{Includes}CIncludes:";
Set PInterfaces "{Includes}PInterfaces:";
Set RIncludes "{Includes}RIncludes:";

MPW Shell
""" > {Worksheet} §

Image description: A black book cover with white serif title type, blue author name, a Bantam Computer Books logo at top left, and a colorful flat illustration of tools such as a clamp, wrench, pliers, saw, and screwdriver beneath overlaid Macintosh-style window screenshots showing code.

Reading notes: Small monospaced code text in the overlaid windows is partially obscured by the tool illustration and window edges; some characters such as the ∂ symbol and the § symbol and truncated line endings at window edges are uncertain. Bantam logo at top left is partially cropped and reads as 'NTAM / PUTER / OOKS'; the publisher name is inferred as Bantam Computer Books from the visible fragments. Reading order of the code windows is approximate since the windows overlap.

Printed product names: Macintosh Programmer's Workshop · MPW Shell

Languages: English

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

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-2214f189a0ac39a0c7e9aa2bc00ed34b13ae33af146635cebda6eb78cff9d3c1)

Transcribed text:

Douglas J. Swatski
11658 ... Apt. 2A
Laurel, MD 20708

Douglas J. Swatski
7539-A Weatherworn Way
Columbia, MD 21046

Image description: A plain white page with two address blocks in blue ink at the top left, the upper one partly crossed out with a black X-shaped strike and the lower one written clearly below it, with no artwork or advertising.

Reading notes: Upper address block is crossed out and partly faded; the street number and line 'Apt. 2A' portion is partially obscured by the strike-through, so '11658 ... Apt. 2A' uses an ellipsis for the obscured span. The street name in the upper block is obscured by the strike-through and is not transcribed. Document is an address page rather than an advertisement; no headline or product copy is present.

Languages: English

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

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-d8a2e3699d750fbdcfaa158ec92ce93469ede85537423a23c69d610c568f13d9)

Programming with Macintosh Programmer's Workshop

Transcribed text:

Programming with
Macintosh
Programmer's
Workshop
Douglas   J.   Svvatski   ·
11658   S.   Laurel Dr.,   Apt.   2A
Laurel,   MD   20708

Reading notes: Name 'Svvatski' may be a misreading of 'Swatski'; verify spelling

Printed product names: Macintosh Programmer's Workshop

Languages: English

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

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-432fa7a61661bd8241c483169fc397e4494bf935e7a9839d9ca1ab209435b826)

Programming with Macintosh Programmer's Workshop

Transcribed text:

Programming with
Macintosh
Programmer's
Workshop

Douglas J. Swetski
11658 S. Laurel Dr., Apt. 2A
Laurel, MD 20708

Image description: A mostly blank off-white page with faint, mirrored-looking title text in the upper right between two thin horizontal rules, and a bluish mailing-address block below them in the same right-aligned area.

Reading notes: Title and address text are very faint and appear mirrored or bleed-through, so exact letterforms and spacing are uncertain. The surname 'Swetski' is read from faint, partly mirrored letters and could be misread. Address block appears to be a stamped or handwritten label with low contrast; the digits in the ZIP code and unit number are uncertain. Headline line break and reading order are inferred from the visual arrangement.

Printed product names: Macintosh Programmer's Workshop

Languages: English

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

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-723241a3f5fc43b10aa076b84994956c36f1108fb4668fbcaee57f6e15e48948)

Programming with Macintosh Programmer's Workshop

Transcribed text:

Programming   with
Macintosh
Programmer's
Workshop
Joel   West
Palomar Software,   Inc.
" ~   1f
BANTAM   BOOKS
TORONTO   •   NEW   YORK   •   WNDON   •   SYDNEY   •   AUCKLAND

Reading notes: Heading line breaks in the source may affect exact title spacing

Printed product names: Macintosh Programmer's Workshop

Languages: English

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

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-2c9868024a2942b7413db416bfaef9eeedc209e6419d082ed2ddbf9fd6a55fec)

Transcribed text:

Programming with Macintosh Programmer's Workshop
A Bantam Book/November 1987
All Rights Reserved
Copyright© by Joel West
Cover   design © by Bantam Books, Inc.
Interior design by Nancy Sugihara
Produced by Micro Text Productions, Inc.
Throughout the book, trade names and trademarks of some
companies and products have been used, and no such uses
are intended to convey endorsement of or other affiliations with the book.
ISBN 0-553-34436-6
Published simultaneously in the United States and Canada
Bantam Books are published by Bantam Books, Inc.
Its trademark,   consisting of the   words   "Bantam
Books"   and the portrayal of   a roost er, is Registered in
U.S.   Patent and Trademark   Office   and in other
countries.   Marca Registrada.   Bantam Books, Inc.
666 Fifth Avenue, New York, New York   10103
PRINTED IN THE UNITED   STATES   OF   AMERICA
FG   0   9   8   7   6   5   4   3   2   1

Reading notes: Copyright symbol and some line-break spacing in the copyright notice are irregular in the source text

Printed product names: Macintosh Programmer's Workshop

Printed dates: November 1987 · 1987

Languages: English

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

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-bb55a10b68660a97ecb5f79baf8a0eb7fba9eb6df4440605a0283918f1e031b0)

Transcribed text:

Preface
MACINTOSH   PROGRAMMER'S   WORKSHOP   IS   A   COMPLETE   SYSTEM   for developing
software for the Macintosh, including compilers, an editor, command proc-
essor and development utilities.   MPW   is the official Macintosh development
system from Apple Computer, Inc., and is also the basis for important
developer products offered by other companies.
The book is a guide to making effective use of   MPW   in Macintosh
programming with   C   or   Pascal.   It assumes no prior Macintosh programming
experience, offering a step-by-step explanation   ofMPW   s capabilities. At the
same time, it is intended to offer tricks and new ideas for the most seasoned
MPW   veteran.
In addition to the tutorial introduction, the book also collects important
material for later reference use.   It   is not intended to replace the MPW
reference manuals supplied by Apple, but to provide an essential supple-
ment for any serious   MPW   user.
Every effort has been made to make the text intelligible without having
a computer at hand-what I call a "bathtub   book,"   although you're more
likely   to   read it at the beach or on a plane. However, certain sections will
benefit from having   MPW   and your Mac at hand, particularly Chapters 4
through 6.
The book covers the latest beta-test versions of   MPW   2.0   available at
press time   ofMPW,   including the final MacApp 1.1. However, it's possible
that the final software that you buy may have a minor difference or two. Also,
the book does not attempt to describe every option and every   MPW   com-
mand; for a complete reference list   ofMPW   2.0   commands, see Appendix   A.
Some   may   ask why the book spends so much time on programming,
particularly on details of the Macintosh   OS   and Toolbox.   One   reason is that
v

Reading notes: Possible OCR spacing errors such as 'ofMPW' and 'MPW   s' in the source text Source contains hyphenated line breaks that may affect word reconstruction

Printed product names: MPW · Macintosh Programmer's Workshop · MacApp 1.1 · MPW 2.0 · Macintosh · Toolbox · OS

Languages: English

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

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-aa53f0694ff31f4b0c9a8a6efdf829be34e3525618328f9ac54bb57f206e66d3)

Transcribed text:

vi   Programming the Macintosh with MPW
anyone who buys   MPW   does so for one reason: to program the Macintosh.
Even an experienced Mac hacker may not have made it all the way through
all the chapters of all the editions of   Inside Macintosh,   while a prospective
Macintosh programmer may not have even cracked the first chapter.   In   the
computer business, we often spend so much time staring at a few trees
through a microscope that we miss the broad sweep of the forest.
But the most important reason is that the standard reference books have
a deliberately narrow focus.   Inside Macintosh   is development-system inde-
pendent, while the   MPW   reference manuals do not cover the   OS   and Toolbox
calls. This compartmentalization is necessary for comprehensive reference
works about a complex moving target, or the books would weigh twice as
much and come out too late to do anyone any good.
My view is that a book that attempts to teach programming the Macin-
tosh with   MPW   must tie together both topics, so that the reference works
make sense in the context in which they are used. The result was twice as
long and later than anyone expected, but I'd like to think it was worth the
wait.
Joel West
Vista, California
July, 1987

Printed product names: MPW · Inside Macintosh

Printed dates: July, 1987

Languages: English

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

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-6c5359adfaacccc5e086ede6e36c2e22e600d83a8e445863165fe81bf1e69733)

Transcribed text:

Acknowlegements
EVEN WHEN FLOWING   FROM   THE KEYBOARD   OF   ONE   AUTHOR,   writing a technical book
covering such a broad topic requires the consultation and assistance of   many
selfless individuals.
First on my list of acknowledgements are two guys who would find
themselves at the end of any alphabetical list.   Paul   Zemlin   of Apple
continuously worked to provide the latest   MPW   software and documenta-
tion, as well as coordinating the assistance of various Apple departments.
Eric   Zocher   of Silicon Beach Software gave me crucial suggestions for the
book before I'd even written a word, as well as spending several hours on an
Easter Sunday offering helpful suggestions on how the book could be
improved.
At Apple, Rick Meyers patiently explained many of   the details behind the .
MPW   design. Harvey Alcabes arranged for me to have the latest information
about MacApp. I'd also like to thank the many others at Apple who helped
out, including Kurt Bianchi, Jim Friedlander, David Goldsmith, Keithen
Hayenga, Fred Huxham, Ginger Jernigan, Sherri Morningstar, Louella
Parsons, Larry Rosenstein, Martha Steffen, George Towner, and Katie
Withey.
Duane Maxwell ofLevco Enterprises shared his knowledge of   the Motor-
ola   68020   and 68881. Tom Leonard of TML Systems provided an advance
look at his firm's Modula-2 compiler for   MPW.   In addition to many of the
above, Frank Boosman, Dennis Cohen, Steve Falco, Neil Rhodes, and Bill
Snider reviewed portions of the manuscript.
In the publishing side of the business, editor Steve Guty at Bantam
guided me along and provided weekly reassurance and direction, while his
later insistence on rewriting greatly improved several sections. Jack and
vii

Reading notes: Heading spelled 'Acknowlegements' as printed Some line-break hyphenation and spacing irregularities in product names such as 'Motor-ola' and 'ofLevco'

Printed product names: MPW · MacApp · Modula-2 compiler for MPW · 68881

Languages: English

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

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-f86c26ed487aaf58f7a15f35dd2071c0e91ae36bd0585bd15e19e749d4a5ab07)

Programming the Macintosh with MPW

Transcribed text:

viU   Programming   the Macintosh with MPW
Cheryl Rienzo toiled till the 'wee hours laying out the pages, long after sane
people would have given up. My agent, Bill Gladstone, is due the credit for
connecting me with Bantam in the first place.
The description of the MPW 2.0 commands contained in Appendix A is
based on copyrighted material of Apple Computer, Inc., and is used with
Apple's express permission. Also, some of the discussions of resources were
based on my "Resource Roundup" column in   MacTutor.   I would like to thank
the magazine's editor, David E. Smith, for generously allowing me to adapt
that material, and also for encouraging me to write about the Macintosh.
Finally, as any writer will tell you, the author's spouse is long-suffering
and unheralded, despite any token words to the contrary on a page such as
this. My thanks go to Lori for putting up with this yet again.

Reading notes: Reading order of the supplied text is uncertain; the headline is taken from the leading line 'Programming the Macintosh with MPW'.

Printed product names: MPW 2.0 · MacTutor · Macintosh

Languages: English

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

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/1#scan-b6bd4458d947707dcff26ae63306ef7728c5f05c9bab5c898c7b36a73ffe84ce)

Transcribed text:

CONTENTS
Chapter 1
About MPW
1.1   Macintosh   Development   Software   1
IN   THE   BEGINNING   1
ENTER MPW   3
1.2   What   Is   MPW?   4
THE MPW   ENVIRONMENT   4
COMPILERS   5
DEVELOPMENT   ENVIRONMENTS   6
OBJECT-ORIENTED   DEVELOPMENT   7
THIRD-PARTY   SYSTEMS   8
STRENGTHS   AND   WEAKNESSES   8
1.3   Getting Started   1 O
INSTALLATION   STRATEGIES   10
A   TEST   DRIVE   12
TRYING   COMMANDS   15
INTERACTIVE   HELP   16
1.4   Where Do You Go From Here?   19
THE   REMAINING   CHAPTERS   19
A   NOTE   ABOUT   STYLE   20
OTHER   REFERENCES   21

Reading notes: Table of contents page numbers include 'O' in place of a digit for Section 1.3 Getting Started, possibly OCR error

Printed product names: MPW

Languages: English

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

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-programming-with-macintosh-programmers-workshop-1987-cec8de/2.md)
