[comp.sys.mac.programmer] LSP 2.0: What IS this stuff?

lsmith@apollo.COM (Larry Smith) (02/17/89)

Well, I just got LSP 2.0 and sat back to peruse the manual and learn about all the
new features.  Imagine my surprise to discover the manual doesn't document most of
them.  No mention is made of HOW the Object Pascal extensions work - just syntax
diagrams and reference to a book on Object Pascal - in spite of the fact that the
rest of the language *is* covered in the Language Reference section.  Even worse,
the UNIV data type is mentioned twice and never explained at all - not even an
index entry!

I found an old copy of Structured Language World with enough Object Pascal info to
at least declare a class, but could someone tell me what the hell a UNIV is and how
I use it????  And when will the revised and corrected manual from Symantec will be
out?





-- 
Larry Smith    lsmith@apollo1.UUCP
            or {mit-eddie,yale,uw-beaver}!apollo!lsmith

siegel@endor.harvard.edu (Rich Siegel) (02/19/89)

In article <418350af.1199f@apollo.COM> lsmith@apollo1.UUCP (Larry Smith) writes:
	[Questions about UNIV,  object Pascal,  and the manual...]

	A UNIV parameter is a parameter that is compatible as an argument
with any data type of similar size; for example:

	procedure Foo(var bar : UNIV LongInt);

As declared, you could pass any 4-byte data type to Foo, and the compiler
will not perform the usual type checking on it.

Object Pascal, and some of the more esoteric MPW Pascal extensions, were
left out of the manual due to time constraints; an addendum will probably
be out this summer.

		--Rich



Rich Siegel
Staff Software Developer
THINK Technologies Division, Symantec Corp.
Internet: siegel@endor.harvard.edu
UUCP: ..harvard!endor!siegel
Phone: (617) 275-4800 x305