Adding a New Kind of Data to the Notepad
name
"Temperature Editor"
type
'editor
symbol
'default
viewJustify
to be parentRelativeTop vertically and parentRelativeFull horizontally and make its viewBounds
{top: 0, left: 0, bottom: 64, right: 0}
temperature
and windSpeed
. Let's set the slots of the first newtLabelNumInputLine so they will match:
label
"Temperature"
path
'|temp:Calliope|.temperature
kDataDefSym
constant already defined, use:[pathExpr: kDataDefSym, 'temperature]
label
"Wind speed"
path
'|temp:Calliope|.windSpeed
Or, in order to take advantage of the kDataDefSym
constant already defined, use:[pathExpr: kDataDefSym, 'windSpeed]
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996