Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!hub!6600pete From: 6600pete@hub.UUCP Newsgroups: comp.sys.mac.programmer Subject: Re: Inconsistent SysEnvirons declaration in IM? Message-ID: <3260@hub.UUCP> Date: 7 Dec 89 09:31:38 GMT References: <4184@sbcs.sunysb.edu> Sender: news@hub.UUCP Lines: 17 From article <4184@sbcs.sunysb.edu>, by vallon@sblw.CS.SunySB.EDU (Justin Vallon): > I have recently tried to use the SysEnvirons trap as described in > IM V, "Compatability". I have two problems: > 1) SysEnvirons' procedure declaration uses SysEnvRecPtr, while the > discussion uses SysEnvPtr. Which one is right? > 2) I am using LS Pascal 2.0, and have no success in trying to > compile any of the following: > ... Just use err := SysEnvirons ( 1, theWorld ); where theWorld is a SysEnvRec. Apparently LSP 2.0x takes care of the pointer stuff in glue. Might be interesting to hear how MPW does it. ------------------------------------------------------------------------------- Pete Gontier : InterNet: 6600pete@ucsbuxa.ucsb.edu, BitNet: 6600pete@ucsbuxa Editor, Macker : Online Macintosh Programming Journal; mail for subscription Hire this kid : Mac, DOS, C, Pascal, asm, excellent communication skills