← Oh! Macintosh Pascal! (supplement to Oh! Pascal!)

Oh! Macintosh Pascal! (supplement to Oh! Pascal!)

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

Getting Acquainted With Macintosh Pascal

What ls Mac Pascal? ~ language extensions user interface 1 Getting Acquainted With Macintosh Pascal MEET MAC PASCAL, the friendliest member of the ever-growing Pascal family. Mac Pascal is particularly nice to strangers. You'll find as you read this chapter and do the followup hands-on session in the Appendix that Mac Pascal does everything short of holding your hand as you take your first programming steps. Macintosh Pascal differs from the Standard Pascal described in Oh! Pascal! in two ways: the language extensions and the user interface. Like most modem versions of Pascal, the Macintosh Pascal language includes several extensions of the Standard. Some of these changes make programmin~ easier and more intuitive; others allow your programs to do things that stmply can't be done with Standard Pascal as Wirth defined it. The price you pay for taking advantage of these extensions is a lack of portability. Since the detailS of language extensions are implementation dependent, programs written to take advantage of Mac Pascal's (or any Pascal's) non Standard features may have to be modified considerably to run with other Pascal interpreters or compilers. Macintosh Pascal's most striking feature is its distinctive user interface - the way it communicates with you. Like the Macintosh itself, Mac Pascal is designed to be, above all else, easy to learn and easy to use. But it's also packed with features to make advanced programmers more productive. We discuss general features of the Mac Pascal user interface here; the details are in the hands-on sessions in the Appendix. The Mac Pascal screen generally displays three standard windows: • the pro~ window, where you'll type your programs and edit (modify) them. This window will display the name of your program, "Untitled" in this example. • the Text window, r----~,.~",--~• which displays textual output from your pro- ~s. This window ----..,...,-.w..,..tn __ ......... IS the place where output from FirstRun, and all other programs in Oh! Pascal!, will appear. • the Drawing win- dow, which displays whatever pictures you create with your l:>o;y----------r.i~t---------t-1 programs. 1

Reading notes: OCR noise in several words (e.g., 'modem', 'programmin~', 'Pascal's)' and 'r----~,.~",--~•' fragment) Reading order of the window description list is uncertain due to layout fragments Some words such as 'detailS' and 'Wirth' may be misread

Printed product names
Mac Pascal · Macintosh Pascal · Oh! Pascal!
Languages
English