Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!bloom-beacon!ftp!bootsie!olson From: olson@bootsie.UUCP (Eric Olson) Newsgroups: comp.sys.mac.programmer Subject: Re: Where is documentation on TMPLs? Keywords: TMPL ResEdit Message-ID: <20@bootsie.UUCP> Date: 26 May 90 22:48:31 GMT References: <3262@usceast.UUCP> <6@genco.uucp> <5507@hub.ucsb.edu> Reply-To: olson@bootsie.UUCP (Eric Olson) Distribution: usa Organization: Lexington Software Design, Lexington, MA Lines: 48 In article <5507@hub.ucsb.edu> stoms@castor.ncgia.ucsb.edu () writes: (list of TMPL codes deleted) I've a bit more info on some of these types. It is from playing with TMPLs and some old, old documentation. (the documentation I have is from the 12/85 Software Supplement!): FBYT,FWRD Filler byte or word, not settable or viewable when editing the resource (see the example in TMPL "MENU"). FLNG apparently doesn't exist in ResEdit. AWRD I have no idea what this does. It's in the TMPL "CTY#", the map cdev's format for a list of city data. Anybody know what an AWRD is supposed to be? And if there's an ABYT or ALNG? OSTR, ESTR These types are Pascal Strings, padded to odd or even length (including the length byte), not C strings as previously described in this group and in the documentation. The padding (a zero) appears at the end of the string if needed, and the length byte is not updated to include the padding. LSTB/LSTE An example of this kind of list is the TMPL for TMPL's. These list's lengths are inferred from the length of the resource. BOOL This is a two-byte value, with the lowest bit in the high byte set if TRUE (like a Pascal BOOLEAN pushed on the stack). LSTC, LSTZ These are two-byte values. Hope this helps someone! -Eric --- Please note! olson@bootsie.uucp will not work! Use an address below: Eric K. Olson Internet: olson@endor.harvard.edu Lexington Software Design Usenet: harvard!endor!olson 72A Lowell St. Applelink: olson@endor.harvard.edu@dasnet# Lexington, MA 02173 Compuserve: >INTERNET:olson@endor.harvard.edu (617) 863-9624 Bitnet: OLSON@HARVARD