Sharing Data between Applications

Adding Slots to Other Soup Entries

Adding new slots to entries in other soups is also straightforward. For example, you might add a favoriteNumber slot to entries in the Names application, for use by your application. The Names application won't display this new slot's information, of course, but it will maintain the slot in entries. In other words, if your application sets the favorite number of "Joe Jones" to 3, and then the user edits the name of "Joe Jones" to "Joe X. Jones" in Names, the favoriteNumber slot will still be maintained as 3. The Names application just ignores new slots.


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

Last modified: 1 DEC 1996