Path: utzoo!attcan!uunet!husc6!bbn!rochester!rutgers!deimos!uxc!uxc.cso.uiuc.edu!zaphod!liberte From: liberte@zaphod.ncsa.uiuc.edu Newsgroups: comp.sys.mac.programmer Subject: Re: Lightspeed Pascal 2.0 Ships! Message-ID: <900012@zaphod> Date: 22 Nov 88 23:46:00 GMT References: <594@husc6.harvard.edu> Lines: 22 Nf-ID: #R:husc6.harvard.edu:594:zaphod:900012:000:1017 Nf-From: zaphod.ncsa.uiuc.edu!liberte Nov 22 17:46:00 1988 I got my THINK Pascal (LSP 2.0) yesterday. My LSP 1.11 project compiled almost the first time and ran the first time. Be sure to keep LSP 1.11 long enough to save your source files as Text Only so that THINK Pascal can read them. The LightsBug debugger is significantly improved because it can display structured variables with field names (for records) and enumerated type names, like THINK C. The problem with faking unsigned integers is that you must turn off both overflow checking, for arithmetic, and range checking, for assignment to an integer variable of the illegal value -32768. (With LSP 1.11, I suspect that building an application ignores compiler directives because my program ran correctly within LSP but not as an application until I turned off R and V options for the whole file. I dont know whether the same problem exists in the new THINK Pascal.) There really ought to be a note about this in the manual. Dan LaLiberte National Center for Supercomputing Applications liberte@ncsa.uiuc.edu