[comp.sys.mac.programmer] Problem with Think Pascal 3.0

es1o+@andrew.cmu.edu (Eric Mitchell Snider) (01/23/91)

I'm having a problem with Think Pascal that is wasting a lot of my time.
 Every so often when I select "Go" from the "Run" menu instead of my
program executing, an alert with 3 lines of garbage text gets displayed.
 After hitting the OK button, a "Think Pascal has unexpectedly quit"
alert appears.  I have no idea what's going wrong.  I don't think my
programs are the cause.  Has anyone had similar problems or is it just
me?

I'm using a IIsi with 5 megs of ram.  System 6.0.7.  It's happened under
Finder and Multifinder.

mxmora@unix.SRI.COM (Matt Mora) (01/23/91)

In article <4bb=LOy00UhWM3jlJH@andrew.cmu.edu> es1o+@andrew.cmu.edu (Eric Mitchell Snider) writes:
>I'm having a problem with Think Pascal that is wasting a lot of my time.
> Every so often when I select "Go" from the "Run" menu instead of my
>program executing, an alert with 3 lines of garbage text gets displayed.
> After hitting the OK button, a "Think Pascal has unexpectedly quit"
>alert appears.  I have no idea what's going wrong.  I don't think my
>programs are the cause.  Has anyone had similar problems or is it just
>me?

Three things come to mind:

1) You might need version 3.01 of Think Pascal. I think there is an updater
progran on sumex.

2) Your Project could be trashed. Select remove objects from the project menu
(I think) and rebuild the project. You might want to re-install Think Pascal.

3) Your program is trashing random areas of memory. Try turning on heap
scramble in Macsbug and see if you drop into macsbug.

Also sometimes after you throughly trash you mac environment your system
file doesn't survive. You might want to reinstall that also.

Just to be safe you should look over your program(s) (you didn't indicate
whether this happens with just one project) again.




-- 
___________________________________________________________
Matthew Mora                |  my Mac  Matt_Mora@QM.SRI.COM
SRI International           |  my SUN   mxmora@unix.sri.com
___________________________________________________________