/*
**      Newton Developer Technical Support Sample Code
**
**      AutoRoute, an example of the Send function.
**
**      by J. Christopher Bell, Newton Developer Technical Support
**
**      Copyright © 1995-1996 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.
*/

constant kDataSymbol 		:= '|myData:AutoRoute:PIEDTS|;
constant kPrintFormat1Sym 	:= '|format1:AutoRoute:PIEDTS|;
constant kPrintFormat2Sym 	:= '|format2:AutoRoute:PIEDTS|;
constant kFrameFormatSym 	:= '|frameFormat:AutoRoute:PIEDTS|;

DefConst('kMyFrameFormat, {
	 _proto: protoFrameFormat,
	 symbol: kFrameFormatSym,
	 title: "Frame Format",

	 // for your project, you may have to do more work to export the item to text
	 textScript: func(item, target) 
	 	clone(target.text);
	});
