Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!cleon From: cleon@ut-emx.UUCP (Doug McNaught) Newsgroups: comp.sys.mac.programmer Subject: Re: HELP (easy -)) - Open & Close Picture Summary: No, Pascal passes everything bigger than a longword (32 bits), by reference, so the ampersand should be there. Message-ID: <11320@ut-emx.UUCP> Date: 19 Mar 89 17:22:58 GMT References: <635@uvicctr.UUCP> <9461@polyslo.CalPoly.EDU> Distribution: na Organization: The University of Texas at Austin, Austin, Texas Lines: 12 > > picH = OpenPicture(&picSize); /* start "recording" picture */ >> I don't think the picsize rect parameter >> is a var, I think OpenPicture wants the parameter to be call by value, >> but I could be wrong since I'm going from memory, any comments from >> anyone who's not too lazy to acutally look this thing up??? >> -- As I said in the summary, OpenPicture does take a rect as a value (not VAR) parameter, BUT pascal passes composite objects bigger than 32 bits by reference anyway, so the ampersand *should* be there. Doug Mcnaught cleon@emx.utexas.edu (campus) university of texas at austin