Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!bionet!apple!bloom-beacon!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!polyslo!dorourke From: dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) Newsgroups: comp.sys.mac.programmer Subject: Re: Saving a picture to a file Summary: Opps, small problem in previous posting this is the fix. Keywords: PICT QuickDraw Message-ID: <5538@polyslo.CalPoly.EDU> Date: 8 Nov 88 21:10:47 GMT References: <5532@polyslo.CalPoly.EDU> Reply-To: dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) Organization: Cal Poly State University -- San Luis Obispo Lines: 13 In article <5532@polyslo.CalPoly.EDU> dorourke@polyslo.CalPoly.EDU (David M. O'Rourke) writes: > FileErr := SetEOF(FileRefNum, PictLength); > if FileErr <> noErr then I made a small mistake, this line should read FileErr := SetEOF(FileRefNum, PictLength + (512 * SIZEOF(Integer))); Sorry about the problem, hope it doesn't cause too many problems. :-( -- David M. O'Rourke dorourke@polyslo.calpoly.edu "If it doesn't do Windows, then it's not a computer!!!" Disclaimer: I don't represent the school. All opinions are mine!