← Macintosh Pascal Illustrated: The Fear and Loathing Guide

Macintosh Pascal Illustrated: The Fear and Loathing Guide

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

Macintosh Pascal Illustrated

Addison-Wesley Publishing Company SCOTT KRONICK Macintosh Pascal Illustrated The Fear and Loathing Guide

A book cover with an orange-to-red gradient background, large white brush-script letters reading "Pascal" with black drop shadows, the word "Macintosh" in white above and "Illustrated" in white italic below, a torn-paper dark gray band at the bottom, and the publisher logo at top left.

Reading notes: Publisher and author name are printed in small text at the top; the stylized "Pascal" script is decorative but its letters are legible as Pascal.

Printed product names
Macintosh Pascal Illustrated
Languages
English
PDF page 1

Macintosh Pascal Illustrated

Addison-Wesley Publishing Company SCOTT KRONICK Macintosh Pascal Illustrated The Fear and Loathing Guide

A book cover with an orange top band holding the publisher logo and author name, a red central field with large white brush-script 'Pascal' outlined in black, 'Macintosh' and 'Illustrated' in white sans-serif, and a dark gray lower band with a torn-paper edge bearing the subtitle.

Reading notes: The stylized 'Pascal' script is decorative and letterforms are partly abstracted; the reading is inferred from the shape of the brush lettering.

Printed product names
Macintosh Pascal Illustrated
Languages
English
PDF page 2

Macintosh Pascal Illustrated

MACINTOSH PASCAL Illustrated

A plain white cover page with spaced-out sans-serif capitals reading MACINTOSH PASCAL above a large brush-script word Illustrated overlapping a grey halftone-dot rectangle.

Reading notes: The script word 'Illustrated' is stylized brush lettering; the reading 'Illustrated' is inferred from letterforms and may be partly obscured where it overlaps the dotted rectangle.

Printed product names
Macintosh Pascal
Languages
English
PDF page 3

M A c N T 0 s p A s c A L The Fear and Loathing Guide by SCOTT KRONICK .. TT ADDISON-WESLEY PUBLISHING COMPANY , INC. Reading, Massachuse tts Wokingham, England Menlo Park, California Don Mills, Ontario Amsterdam Sydney Mexico City Bogota Santiago Singapore San Juan Tokyo H

Reading notes: Letter-spaced title lines 'M A c N T 0 s' and 'p A s c A L' are damaged or ambiguous as printed Reading order of the publisher and city lines is uncertain

Languages
English
PDF page 4

Many of che designations used by manufacturers and sellers co distinguish cheir produces are claimed as trademarks. Where those designations appear in chis book and Addison- Wesley was aware of a trademark claim, che designations have been printed in initial caps. Library of Congress Cataloging In Publlcatlon Data Kronick, Scott. Macintosh Pascal illustrated. Includes index. 1. Macintosh (Compucer)-Programming. 2. PASCAL (Computer program language) I. Tide. QA76.8.M3K76 1985 001.64'2 85-3907 ISBN 0-201-11675-8 Copyright© 1985 by Addison-Wesley Publishing Company, Inc. All rights reserved. No part of chis publication may be reproduced, stored in a retrieval syscem, or cransmicced, in any form or by any means, eleccronic, mechanical, photo- copying, recording, or otherwise, wichouc che prior wriccen permission of che Publisher. Printed in che United Scates of America. Published simultaneously in Canada. Second Printing, September 1985 BCDEFGHl]-HA-898765 Sec in 11 pc. Garamond by General Graphic Services, Inc., York, PA Texc design by Pauy Lowy, NY, NY Cover design by Marshall Henrichs

Reading notes: OCR spacing and character errors (e.g., 'che', 'chis', 'Tide') in the copyright and cataloging block Headline cannot be determined from supplied copy

Printed product names
Macintosh · Macintosh Pascal
Printed dates
1985 · September 1985
Languages
English
PDF page 5

Teat Ulthout the help of the following people, the Fear and Loathing Guide would have been entirely possible, but their generosity and talent allo1ed nr. nosa to goof off, hang out, play with his girlfriend, and feel damn good about being allue. nlchael Cermak, 1ho knoms lots about friendship. Carol, Gary, Ruth, and nason, who kno1 lots about family. Rmanda Hixson and Rian Goldstein, 1ho kno1 lots about books. nr. noss's girlfriend, •ho kno•s lots about nr. noss. And the person to 1ho1 this book is dedicated: Andy Hertzfeld, mho kno1s lots about lots.

Reading notes: OCR errors: 'Ulthout' likely 'Without', 'nr.' likely 'Mr.', 'nason' likely 'Mason', 'Rmanda' likely 'Amanda', 'Rian' likely 'Ryan' Several 'o' and 'e' characters appear damaged, e.g., 'allo1ed', 'mho', 'kno1s' Reading order of the dedication line is uncertain

Languages
English
PDF page 6

Contents 1 Introduction 3 PART1 Running MacPascal: The User's Guide 7 1 Entering the Sewer with a Boy or Girl Mac entering and saving a program called ComputerSewer 17 2 Low-Down, Cheating Computers learning about errors before they freak you out 27 3 Don't Call It the Runs Menu exploring different ways to run and pause in a program 35 4 Macintosh Saves, Gretzky Scores on the Rebound experimenting with the File, Edit, Search, and Windows menus 45 5 An Instant Cure for Premature Compilation running instructions immediately in the Instant window 55 6 Observing: Different Pokes for Different Folks watching variables in the Observe window as a program runs CONTENTS vii

Reading notes: Chapter 1 title split across lines reads 'Entering the Sewer with a Boy or Girl Mac' and may contain a missing or merged word Page number format in the table of contents is ambiguous in places

Languages
English
PDF page 7

63 PART 2 Programming with Quickdraw and the Toolbox: The Language Guide 67 7 Zen Pascal: Everything You Know Is Wrong program I semicolons I var I begin I end 73 8 Of Mice and Mountains integer I frameRect I moveTo I writeDraw I repeat .. until I button I getMouse I if.. then I and I invertRect 79 9 Procedures and True Boolean Confessions var I boolean I procedure 85 10 Rect and Point: Types Not for Your Sister point I rect I setPt I setRect I ptlnRect 89 11 Babies and the Input/Output Function string I setTextRect I showText I write I writeln I if.. then .. else I function I readln 97 12 The Mouse Yes, the Keyboard No hideAll / setDrawingRect I showDrawing I if.. then .. else I penSize I textSize I textFont I frameRoundRect I function I or I not I sysBeep I while .. do 105 13 The Printer Prints text I rewrite I writeln 109 14 Printing In Style Without the Alligator const I for .. to .. do I chr I case .. of 117 15 Filing Away Regrets on a Disk array I newFileName I rewrite I close 123 16 Recalling Regrets from a Disk oldFileName I reset I not I eof 129 17 Trading Licks with MacWrite oldFileName I reset I eof I eoln 133 18 Trading Licks with MacPaint const I procedure I eraseOval I paintOval I viii MACINTOSH PASCAL ILLUSTRATED

Reading notes: Source appears to be a table of contents with chapter titles and Pascal keyword lists; no headline identified. Some characters in the source are unclear and reading order is fragmented across lines.

Languages
English
PDF page 8

frameOval I abs I random I mod I save Drawing 141 19 QuickSounds for the Hard of Herring sysBeep I note 145 20 Pick-Me-Ups at the Frequency Bar fillRect I globalToLocal I eraseRoundRect I eraseOval 151 21 Passing Parameters on E Street procedure I note 155 22 A Springsteen Type Concert type I ord 159 23 Detecting Shady Characters type I set of I function I get 165 24 Stringy Strings and Split Ends var I chr I length I delete I concat 171 25 Formatting Dollars with Common Cents extended I stringOf I insert 177 26 Financial Programming: To the Bone type I record I computational I [ +, - , * ,/] 183 27 A Time for Mac, a Time for Martha dateTimeRec I with .. do I writeln I insetRect I fillOval I tickCount I fillArc I paintArc 191 28 Files for the Child in You record I array I file of I open I seek I filepos 201 PART 3 Referencing Macintosh Pascal: The Whiz Kid's Encyclopedic Guide 205 a New Frontiers, or Are We Having Fun Yet? 207 b Pascal Structures 211 c Macintosh Character Set 213 d Printer Control Codes 215 e Vocabulary and Symbols CONTENTS Ix

Reading notes: Table of contents layout with scattered keyword fragments makes reading order uncertain Some entries contain stray tokens and punctuation possibly from OCR Headline inferred from book title line rather than a standalone primary heading

Printed product names
Macintosh Pascal
Languages
English
PDF page 9

x 219 f The Whiz Kid's Dictionary defining 164 Pascal, Quickdraw, and Toolbox terms illustrated with 75 complete, ready-to-run Pascal programs 331 Index MACINTOSH PASCAL ILLUSTRATED

Reading notes: Page number 219 and index page 331 appear as fragments; reading order of the fragments is uncertain.

Languages
English
PDF page 10

Macintosh Pascal Illustrated

MACINTOSH PASCAL Illustrated

A cover-style page with widely spaced sans-serif capitals 'MACINTOSH PASCAL' above a large brush-script word 'Illustrated' overlapping a halftone dot-screen rectangle on a white background.

Reading notes: The brush-script word 'Illustrated' is stylized and partly overlaps the halftone rectangle, so its letterforms are read as 'Illustrated' with some uncertainty.

Printed product names
Macintosh Pascal
Languages
English
PDF page 11

Introduction If coloring books had instructions, kids would just chew the pages. Give them some crayons. Leave them alone. They don't need paper. They can Michelangelo the wall. Macintosh is a mean set of crayons. Besides pictures, words, and numbers, it draws tools that work and makes voices that sing. But with the holy goose as my witness, no fat-pouted, mealy- mouthed smudgepot calling hisself a teacher is going to put his pigeon-smear ideas about computers near my new Macintosh. That goes for books, too. Computer books have got a boring evil that will put the devil to an iceman's sleep. Macintosh shows me what I need to know, and when I muck up bad, it tells me that also. All things considered, my Macintosh is probably stupider than my houndog, Rollo. Though for a machine, it has plenty of spunk. What's more, Rollo and I have taken a liking to Mac, and we're the kind of folk who look after those we care about. Rollo understands plain English. Macintosh talks something called Macintosh Pascal. Without resorting to teaching-call me a teacher INTRODUCTION

Reading notes: Text ends mid-sentence at a page break, so the reading order beyond this point is uncertain.

Printed product names
Macintosh · Macintosh Pascal
Languages
English