Adding a New Kind of Data to the Notepad

Create Constants

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

constant kDataDefSym := '|Temp:Calliope|;
constant kEditorViewDefSym := 'default;
Save the file as "Constants" and add it to the project.


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

Last modified: 1 DEC 1996