Pascal for the Macintosh 1986
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
PASCAL for the Macintosh™ Henry Ledgard & Andrew Singer
A book cover with the large multicolored hand-brushed letters spelling PASCAL in red, orange, green, red, blue, and purple, above the black serif word Macintosh with gray 'for the' and gray author names Henry Ledgard & Andrew Singer on a cream background.
Reading notes: Title lettering PASCAL is stylized and multicolored; transcribed as shown but letterforms are decorative. Trademark symbol ™ after Macintosh is small and transcribed as ™.
- Languages
- English
PDF page 1
PASCAL for the Macintosh™ Henry Ledgard & Andrew Singer
A book cover with the large multicolored hand-brushed title PASCAL in red, orange, green, red, blue, and purple letters above 'for the Macintosh' with a trademark symbol, and author names Henry Ledgard & Andrew Singer in gray on a cream background.
Reading notes: The title 'PASCAL' is stylized with letters in varying colors and shapes; the reading is clear but the letterforms are decorative. The word 'for the' is set in smaller gray type overlapping the top of 'Macintosh'.
- Languages
- English
PDF page 2
GARY FISHER UCSC COLLEGE 8 3383374
The image shows a mostly blank, pale off-white photo or paper backing with a handwritten blue ink label in the upper left and irregular white and cream areas suggesting a mounted print or trimmed sheet.
Reading notes: Handwritten blue ink label; the number 3383374 is handwritten and may be partially ambiguous in its digits. No advertisement, poster, or printed page content is visible; only the handwritten label appears. Edges and faint shadows may hide trace marks that are not legible.
- Languages
- English
PDF page 3
A completely blank white page with no visible artwork, layout, or printed content.
Reading notes: The image appears entirely blank white with no visible text, so no transcription was possible.
PDF page 4
Pascal for the
Pascal for the Henry Ledgard Andrew Singer with the assistance of Peg Robbins • ...... Addison-Wesley Publishing Company Reading, Massachusetts • Menlo Park, California • Don Mills, Ontario • Wokingham, England Amsterdam • Sydney • Singapore • Tokyo • Mexico City • Bogota • Santiago • San Juan
Reading notes: Primary heading may be split across lines; 'Pascal for the' is the apparent title fragment. Publisher and city lines are fragmentary and reading order is uncertain.
- Languages
- English
PDF page 5
Library of Congress Cataloguing In Publication Data Ledgard, Henry F., 1943- Pascal for the Macintosh. Includes index. 1. Macintosh (Computer)-Programming. 2. PASCAL (Computer program language) I. Singer, Andrew, 1943- 11. Robbins, Peg. Ill. Title. QA76.8.M3L44 1986 001.64'2 84-24503 ISBN 0-201-11772-X Macintosh ls a trademark licensed to Apple Computer, Inc. Copyright© 1986 by Addison-Wesley Publishing Company, Inc. 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 the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada. ABCDEFGH IJ-HA-898765
Reading notes: Cataloguing data reads '11.' which may be an OCR variant of 'II.' Printed date '1986' appears in the copyright and cataloguing lines; '1984' is the catalogue year fragment
- Printed product names
- Macintosh
- Printed dates
- 1943 · 1986
- Languages
- English
PDF page 6
Prelude to Programming
List of Illustrative Programs xi Preface xv To the Reader xix Prelude to Programming The Analytical Engine 1 1.1 • Starting Up and Using the Mouse 6 1.2 • Menus, Windows, and Icons 7 1.3 • Entering, Editing, and Running a Program 9 1.4 • Practice-Operating the Macintosh 12 1.5 • Programming Exercises 17 2.1 • The Concept of an Algorithm 22 2.2 • General Program Structure 23 2.3 • The Units of a Pascal Program 26 2.4 • Syntax Issues 30 2.5 • Practice-Syntax 31 2.6 • Programming Exercises 37 v
- Languages
- English
PDF page 7
vi Contents 3.1 • Screen Layout 41 3.2 • Calling QuickDraw Procedures 46 3.3 • Writing Elementary Procedures 51 3.4 • Example Program 53 3.5 • Practice-QuickDraw 59 3.6 • Programming Exercises 66 Prelude to Variables The Adventure of the Bathing Machine 69 Four 4.1 • Variables and Assignment 77 4.2 • Declaring Variables 79 4.3 • Declaring Constants 80 4.4 • Expressions 81 4.5 • Reading and Writing Information 86 4.6 • Practice-Calculations 88 4.7 • Programming Exercises 94 Prelude to Choices A Study of Cigar Ash 99 5.1 • Compund Statements 105 5.2 • If Statements 106
Reading notes: Table-of-contents text; no advertised products, prices, or dates present Typo 'Compund Statements' appears as printed
- Languages
- English
PDF page 8
5.3 • Conditions 109 5.4 • Case Statements 112 5.5 • Practice-Conditional Statements 114 5.6 • Programming Exercises 119 Prelude to Repetition The Adventure of Clergyman Peter 123 6.1 • While and Repeat Loops 133 6.2 • For Loops 136 6.3 • Practice-Looping 137 6.4 • Programming Exercises 148 Contents vii Seven .;io/m1W11i_!; ~-' ~-~---- 7.1 • Problem Solving 153 7.2 • Programs as Human Communication 156 7.3 • Practice-Program Clarity 160 8.1 • Breakpoints 166 8.2 • Step and Reset 171 8.3 • Practice-Getting Programs to Work 172 Prelude to Types An Advertisement in the Times 175
Reading notes: Source is a table of contents fragment with a damaged line (".;io/m1W11i_!; ~-' ~-~----") that cannot be reliably read.
- Languages
- English
PDF page 9
viii Contents Nine~~ 9.1 • Enumerated Types 185 9.2 • Boolean Types 189 9.3 • Character Types 190 9.4 • Subranges of Types 191 9.5 • String Types 193 9.6 • Practice-Learning Simple Types 198 9.7 • Programming Exercises 202 Prelude to Arrays The Ciphered Message 205 10.1 • Array Types 215 10.2 • Strings as Arrays 220 10.3 • Practice-Arrays 222 10.4 • Programming Exercises 225 Prelude to Subprograms A Study in Chemistry 229 Eleven r:;11clf~~ 4JKI~~ 11.1 • Packaging and Subprograms 241 11.2 • Parameters 243 11.3 • Functions versus Procedures 246 11.4 • Global Information 248 11.5 • Side Effects 250
Reading notes: Table of contents with OCR-garbled heading text (e.g., 'Nine~~', 'Eleven r:;11clf~~ 4JKI~~') and uncertain section titles. Chapter numbering and heading order may be unreliable due to damaged characters.
- Languages
- English
PDF page 10
11.6 • Recursion 253 11.7 • Practice-Using Subprograms 254 11.8 • Programming Exercises 258 Prelude to Files The Coroner's Report 263 Contents ix Twelve ¥-aM 17_~---- 12.1 • Input 276 12.2 • Output 277 12.3 • File Types 280 12.4 • Practice-Files 286 12.5 • Programming Exercises 288 Prelude to Records The Adventure of the Gold Chip 293 13.1 • Record Types 301 13.2 • Pointers and Dynamic Structures 305 13.3 • Practice-Records and Pointers 309 13.4 • Programming Exercises 314 14.1 • Application: BarGraph Revisited 317 14.2 • Predefined QuickDraw Types 321 14.3 • Transfer Modes 326
Reading notes: Table of contents fragment with OCR-like spacing artifacts (e.g., 'Twelve ¥-aM 17_~----') Heading 'Contents ix' and numeric section labels may be misread; no primary headline is clearly identifiable
- Languages
- English
PDF page 11
x Contents Prelude to Planning Holmes Delivers a Lecture 331 Prelude to Expansion The Final Programme 343 16.1 • The Example, Text Formatting 355 16.2 • Parting Comments 368 Appendix A Summary of Menus 371 Appendix B Syntax of Macintosh Pascal 377 Appendix C Challenging Programming Exercises 383 Index 389
- Languages
- English