← Scientific Programming with Macintosh Pascal 1986

Scientific Programming with Macintosh Pascal 1986

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

Scientific Programming with Macintosh Pascal

4 • Scientific Programming with Macintosh Pascal graphics , mathematics, etc.) they help the programmer approach a given prob- lem from a more conceptual, strategic perspective. Third, using common librar- ies facilitates sharing applications with other people and makes it easier to refer to old programs and recall their logical structure. Fourth, if several programs share a common library, you can avoid storing the same information in several different files and thus conserve disk space. Though the chapters tend to proceed from relatively easy to more difficult programming applications, each chapter is designed to be modular so you can easily concentrate on topics that suit your particular needs. Chapter 2, Programming the Macintosh Devices, discusses how to utilize the devices unique to the Macintosh and, as such, provides a good introduction to more purely scientific applications discussed in later chapters. Special attention is given to screen, mouse-handling, timing, and sound generator routines. Chapter 3 is dedicated to numerical analysis programs such as integer computations, differential calculus, integral calculus and linear equations. Chapter 4 is dedicated to initial experimen- tation with graphics problems. Chapter 5 discusses a subject ubiquitous in scien- tific settings: probability and statistics. This area is important to all scientists who need to process experimental data. Chapter 6 covers three-dimensional tech- niques, with emphasis on the library l3D.lib) found in this book. Chapter 7 specializes in dynamic models-models in which quantities, often graphically displayed, change in time. Chapter 8 provides optional treatment of the serial port of the Macintosh. Among other things, you will see how to program a terminal emulator which turns the Macintosh into a simple terminal for logging in by modem or direct line at baud rates up to 9600 baud. Chapter 9 is comprised of a set of special topics chosen to exemplify what is best about the Macintosh Pascal approach. These have the flavor of actual real-world projects, and for the most part, were taken from the authors' experience at Reed College in the matter of classroom and research work. A final word is in order concerning the Pascal libraries. Once you have libraries on disk, there is a good way to continually paste them, or segments of same, into your programs. The idea is to use the Macintosh Scrapbook and Clipboard in tandem. Refer to Figures 1.1 through 1.5 for a tour of the method. This method becomes quite easy with practice, and you may always go back at any time and undo mistakes by selecting text and clearing. Often it is good to put several whole libraries onto the Scrapbook, which can hold several independent entries.

Reading notes: The OCR text contains some punctuation and spacing irregularities around 'l3D.lib' (rendered as 'l3D.lib)').

Printed product names
Macintosh · Macintosh Pascal · Macintosh Scrapbook · Clipboard · l3D.lib
Languages
English