[comp.lang.pascal] Think Pascal problem

mwu@teri.bio.uci.edu (Matt Wu) (05/04/91)

I've recently completed a Pascal program on the Macintosh using Think Pascal.
It works fine when I compile in memory and run it from within Think Pascal, but
it dies when I build an application.

However, when I ran the built application on a Macintosh SE (I was using a
Mac II), it ran perfectly.

Unfortunately, the person I wrote the program for has a Mac II. Worse yet,
that particular Mac II won't even run the program from within Think. It just
bombs.

Since I'ved had problems with this particular program in the past, I completely
rewrote it to use only Pascal functions and procedures, with only three
exceptions (to measure the length of text, to write text in Times 12 point and
to delete files). The largest variable I use is of type str255; I've done 
everything I could to make this program portable but it just doesn't seem
to work.

Does anyone know what could be causing the program to fail?

Please respond via e-mail.

Thanks.

Matt
mwu@teri.bio.uci.edu