Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!amdahl!nsc!taux01!cyosta From: cyosta@taux01.UUCP ( Yossie Silverman ) Newsgroups: comp.sys.mac.programmer Subject: Problems with LSP Message-ID: <979@taux01.UUCP> Date: 5 Feb 89 15:56:39 GMT Reply-To: taux01!cyosta@nsc.UUCP ( Yossie Silverman ) Organization: National Semiconductor (IC) Ltd, Israel Lines: 22 I had the following problems with LSP 1.11 lately. I wonder if they were corrected in LSP 2.0. 1) LSP does NOT work with the Script Manager active. If I try to compile with HEIS installed I get LINK errors on left and right. LSP claims that MAIN is not defined, and of many missing routines (like NewHandle!). 2) This one is strange: I wrote a program and ran it successfully for quite some time before I got 'For loop control variable has been altered.'. It turns out that I used the control variable as a dummy in a call to GetResInfo inside the For loop. The interesting part is that (a) this variable is declared as VAR and that (b) the compiler did NOT flag this as an error. I was under the assumption that the compiler was supposed to check for this as part of the Syntax checking. I know that most Pascal compilers do. Thanks in advance. - Yossie -- Yossie Silverman What did the Caspian sea? National Semiconductor Ltd. (Israel) - Saki UUCP: taux01!yossie@nsc.UUCP NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY