Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!princeton!allegra!ulysses!burl!clyde!cbatt!ukma!psuvm.bitnet!dmb From: DMB@PSUVMA.BITNET Newsgroups: net.micro.mac Subject: Re: TML Pascal and MacIsh Stuff Message-ID: <7379DMB@PSUVMA> Date: Fri, 12-Sep-86 02:28:37 EDT Article-I.D.: PSUVMA.7379DMB Posted: Fri Sep 12 02:28:37 1986 Date-Received: Sat, 13-Sep-86 21:22:07 EDT References: 206@hao.UUCP Lines: 38 Hopefully these answers go with your questions: 1. -> Tml supports what they call "Plain Vanilla" Pascal, where you don't have to worry about all the MacStuff (sorry about the MacPun) envolved with the toolbox. Just start your program with Program (input,output) and tml will do all the tough stuff for you. You can then use Pascal i/o. I'm not sure how, this works if you want plain vanilla and other windows, 2. How to make a PICT resource out of a macpaint doc? The easiest way is to just clip out what you want in MacPaint and put it into the scrapbook. Then, go to resedit, and open a new file, and create a Pict resource, then paste from the scrapbook to the PICT resource. You can then (if you want to decompile it, and put the hex codes into a RMAKER file for permanent storage. (Off course this method limits your Pictures to the size of MacPaint window.) Accessing it from within a program is fairly simple. just call the function getpict and store your picture into a picthandle, then put it on the screen with drawpicture. eq... mypicthandle := getpict(thepictid); drawpicture(mypicthandle,theenclosingrect)