
Implementing Stationery
class slot containing a dataDef symbol. This describes the soup entry's kind of data to the system. Here are some of the dataDef types already used by the Newton OS:
person
group
company
note
outline
checklist
The NewtonScript function ClassOf returns the contents of the class slot, or, if no class slot exists, returns the symbol frame.ClassOf({class: 'myType, other: 5}) --> 'myType
while:ClassOf({other: 5}) --> 'frame
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996