Examples

Bookstore Inventory

We'll create an application which records books in a bookstore and keeps track of the following for each book:

author
A string.

title
A string.

acquireDate
A date (integer number of minutes since midnight, January 1, 1904).

numberInStock
An integer.

price
A real number.

Follow the instructions given in "Guide to Creating a Minimal NewtApp" on page 298. A QuickTime movie of this example is available, as is the completed project for different platforms (Mac OS, Windows 3.1 or Windows 95/NT).

Replace Step 9
Replace Steps 18, 19, 20

An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996