Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sunybcs!sbcs!sblw!vallon From: vallon@sblw.CS.SunySB.EDU (Justin Vallon) Newsgroups: comp.sys.mac.programmer Subject: Inconsistent SysEnvirons declaration in IM? Message-ID: <4184@sbcs.sunysb.edu> Date: 7 Dec 89 00:47:33 GMT Sender: news@sbcs.sunysb.edu Reply-To: vallon@sblw.CS.SunySB.EDU (Justin Vallon) Lines: 20 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: var x: SysEnvRec; var x: SysEnvPtr; var x: SysEnvRecPtr; ... All give undefined symbol (or whatever the error is) err := SysEnvirons(1, x); ... Gives Type Mismatch if I type in the decl of SysEnvRec/Ptr Anybody use SysEnvirons from LSP 2.0? -Justin vallon@sbcs.sunysb.edu