Programming with Macintosh Programmer’s Workshop
From the originals
13 scansMachine-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
PROGRAMMING WITH MACINTOSH PROGRAMMER'S WORKSHOP
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
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
PDF page 1
PROGRAMMING WITH MACINTOSH PROGRAMMER'S WORKSHOP
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} §
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
PDF page 2
Douglas J. Swatski 11658 ... Apt. 2A Laurel, MD 20708 Douglas J. Swatski 7539-A Weatherworn Way Columbia, MD 21046
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
PDF page 3
Programming with Macintosh Programmer's Workshop
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
PDF page 4
Programming with Macintosh Programmer's Workshop
Programming with Macintosh Programmer's Workshop Douglas J. Swetski 11658 S. Laurel Dr., Apt. 2A Laurel, MD 20708
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
PDF page 5
Programming with Macintosh Programmer's Workshop
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
PDF page 6
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
PDF page 7
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
PDF page 8
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
PDF page 9
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
PDF page 10
Programming the Macintosh with MPW
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
PDF page 11
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