value__ntId__ntName __ntTemplate allDataDefs allLayoutsallSoupsappAll appObject appSymboltitle viewJustify superSymbol stepChildren statusBarSlot allViewDefsReorientToScreen dateFindSlot beforeScriptviewSetupFormScript afterScript  __ntDatatype __ntFlagsÿ8 PROT@    EVALÿÐ// this needs to be a frame where each slot is the 'symbol value for // the referenced data def. e.g. result := {}; result.(kDataSymbol) := GetLayout("IOUDataDef"); // result.(kData2Symbol) := ... to add a 2nd DataDef result;     EVALÿ°// this needs to be a frame where each slot is the 'symbol value for // the layout. Must have a 'default, must have an 'overview. { default: GetLayout("Default Layout"), overview: GetLayout("Overview Layout"), }    EVALÿ f// this needs to be a frame where each slot is the 'masterSoupSlot value for a layout. // NewtApp looks here to get the appropriate soup information for each layout. // Layouts can use the same 'masterSoupSlot, which is what we do in this sample. // generic entry definition { IOUSoup: { _proto: newtSoup, soupName: "IOU:PIEDTS", soupIndices: [ {structure: 'slot, path: 'title, type: 'string}, {structure: 'slot, path: 'timeStamp, type: 'int}, {structure: 'slot, path: 'labels, type: 'tags }], soupQuery: {type: 'index, indexPath: 'title}, soupDescr: "The IOU soup.", defaultDataType: kDataSymbol, CreateBlankEntry: func() begin // this frame will be passed to FillNewEntry in the appropriate dataDef. local newEntry := Clone({ class: nil, viewStationery: nil, // for compatibility with paper roll title: nil, timeStamp: nil, height: 176, // for page and roll flavors // should be the same as height slot in dataDef // and viewDefHeight in viewDef (if present) }); newEntry.title := ShortDate(time()); newEntry.timeStamp := time(); newEntry; end, } }    EVAL"All Items"    EVAL$["Item", "Items"]    EVALkAppSymbol    EVALkAppTitle    NUMBÿ@   ÌkSuperSymbol // VERY IMPORTANT. Use only DataDefs that have this symbol in their 'superSymbol slot. EVAL    ARAY         ÿ x PROT@   ÌthisView._proto := newtClockFolderTab; // " " only because newtClockFolderTab isn't in platform file  SCPTprotoClockFolderTab"newtClockShowBar    __ntDeclare    ÿD PROT@ newtStatusBarstatus ÿ   ¾'status // contains declared name of the status bar so layouts can use status bar. Optional. EVAL   ÿÈ// this frame must parallel allDataDefs (have the same slots), // each slot contains slots named for the 'symbol slot in the viewDef itself result := {}; result.(kDataSymbol) := { default: GetLayout("IOUDefaultViewDef"), notes: GetLayout("IOUNotesViewDef"), iouPrintFormat: GetLayout("IOUPrintFormat"), // for routing (fax, print, and other 'view transports) protoFrameFormat: // for routing (beaming, mailing, and other frame transports) { _proto: protoFrameFormat, symbol: 'IOUFrameFormat, title: "IOU Frame Format"}, }; // result.(kData2Symbol) := {...} // to add a 2nd DataDef result;  EVAL   $ROM_DefRotateFunc EVAL   †'timeStamp // which slot in the soup entry to use for date finds. EVAL   ÿø/* ** Newton Developer Technical Support Sample Code ** ** WhoOwesWhom, a Stationery Example ** ** by Bob Ebert & Greg Christie, Newton Developer Technical Support ** ** Copyright © 1995 by Apple Computer, Inc. All rights reserved. ** ** You may incorporate this sample code into your applications without ** restriction. This sample code has been provided "AS IS" and the ** responsibility for its operation is 100% yours. You are not ** permitted to modify and redistribute the source as "DTS Sample Code." ** If you are going to re-distribute the source, we require that you ** make it clear in the source that the code was descended from ** Apple-provided sample code, but that you've made changes. */ SCPT   ÿjfunc() begin call kStdAppSizeFunc with (self, kAppName, kMinWidth, kMinHeight, kMaxWidth, kMaxHeight); inherited:?viewSetupFormScript(); // this method is defined internally end SCPT€    EVALnewtApplicationbaseView