Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!endor!siegel From: siegel@endor.harvard.edu (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: LSP V2.0 "univ" meaning? Message-ID: <1769@husc6.harvard.edu> Date: 6 May 89 23:30:53 GMT References: <568339@vaxa.uwa.oz> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec/THINK Technologies, Bedford, MA Lines: 38 In article <568339@vaxa.uwa.oz> a_dent@vaxa.uwa.oz (Andy Dent, ph: 09 380 2620) writes: >whilst browsing through the V2.0 manual for Lightspeed Pascal, I noticed a >reserved word "univ" which fails to appear elsewhere. I can't find any >reference to "univ" in the "Object Pascal Report" so I assume it isn't part >of the Object Pascal extensions. I feel a really strong sense of "deja post" coming on... :-) UNIV is a MPW Pascal extension that disables type checking on actual parameters passed for UNIV formal parameters, as long as the actual parameter being passed is of the same size as the UNIV formal parameter. For example, you could declare to Toolbox "DisposHandle" call as: procedure DisposHandle (h : UNIV Handle); External; Meaning that Pascal would allow you to pass ANY four-byte data type to DisposHandle without having to cast it. >BTW - I'm not impressed by their failure to include ANY Object Pascal info - Object Pascal didn't make it into the doc because of time consider- ations; it'll be in a future release of the manual. --Rich ~~~~~~~~~~~~~~~ Rich Siegel Staff Software Developer Symantec Corporation, Language Products Group Internet: siegel@endor.harvard.edu UUCP: ..harvard!endor!siegel "She told me to make myself comfortable, so I pulled down my pants and sat in the pudding." -Emo Phillips ~~~~~~~~~~~~~~~