[comp.sys.mac.programmer] LSP 2.0 problem

alexis@ccnysci.UUCP (Alexis Rosen) (01/04/89)

YAIWLP1. Yet Another Incompatibility With Lightspeed Pascal 1.11

On very small programs, I left MacPasLib, MacTraps, and my program all in the
same segment. This worked fine in the old Pascal but fails miserably in 
LSP 2.0.  My guess is that the new libraries are simply larger. There's nothing
wrong with this (and nothing to be done about it, either), but it really rates
a mention in the manual. It had two novice programmers here really scratching
their heads ("What's segment size larger than 32K mean???").

Alexis Rosen
alexis@ccnysci.uucp

hpoppe@bierstadt.ucar.edu (Herb Poppe) (02/17/89)

I ran into the following problem while doing a "Build Application..."
in LSP 2.0:

Apparently, if the size of the CODE resource that LSP builds plus
the size of the file containing the application's resources is greater
than the amount of disk space remaining on the disk, then LSP
doesn't create the application file (small wonder) but it fails
to report this fact to you. Likewise, if the application already exists,
and its size plus the size of the remaining disk space is not
sufficient, the previous version of the application is not replaced
and you are not notified of that fact.

Until I discovered this one, I did a lot of head scratching as to why the
'snd ' I'd just added to my application never got played (because
I was running the version, which didn't get replaced, that I had previously
created) even though it got played when I was running in the LSP
environment.

SYSTEM:

MacPlus
1 Meg memory
2 - 800K floppy drives
System 6.0.2 (running under the Finder)
LSP 2.0

Herb Poppe      NCAR                         INTERNET: hpoppe@ncar.ucar.edu
(303) 497-1296  P.O. Box 3000                   CSNET: hpoppe@ncar.CSNET
		Boulder, CO  80307               UUCP: hpoppe@scdpyr.UUCP