// Copyright ©1997 Sine of the Times// Core Development: Ashish Mishra// Support: Robert Lee//// App stuffconstant kSymbolSignature := kappsymbol;constant kVersion := 1;constant kSymbolClass := '|view.Symbol:SofT| ;constant kDropTypesArray := '[picture, text];constant kSuperSymbol := 'notes; // paperRoll's SuperSymbolconstant kDataSymbol := kappSymbol; // our dataDef Symbolconstant kapplication := "WorksFormula:SofT";DefConst('kFrameFormat, { _proto: protoFrameFormat, symbol: '|FormulaFrameFormat|, title: "Custom", } ); partData := {toolInfo: {name: kapplication, path: kappsymbol}};installScript := func(partFrame,removeFrame) begin getroot().newtworks:RegNewtWorksTool(kappSymbol,{item: "Build Formula", datatypesymbol: 'paper, CmdFunc: func(viewDefView, newtAppBase) begin local a:=buildContext(partframe.partData.mainView); a:Open(); end}); end;removeScript := func(removeFrame) begin a := nil; end;