Troubleshooting

You tap on the New button and application breaks with "Expected an array, frame, or binary object, got nil"

Most likely your dataDef has a nil icon slot (unfortunately, the "Newton 2.0" platform file makes this the default when drawing out a newtStationery). Make sure that you either provide an actual icon in the icon slot, or delete the icon slot entirely (in which case you'll inherit the default icon for a dataDef).


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

Last modified: 1 DEC 1996