Making an Existing Application Stationery-Based

Create Constants

1. To begin with, let's define our constants. Create a text file and add to it the following:

constant kBookDataDefSym :=
   '|Book:Bookstore:Calliope|;
constant kBookEditorViewDefSym := 
   'default;
constant kSuperSymbol := kAppSymbol;
Save the file as "Constants" and add it to the project. Change the process order so this file builds before any layouts.


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

Last modified: 1 DEC 1996