Turbo Pascal used to have a "find error" function... Is there a similar function in Free Pascal (I'm using 1.9.4)? I compiled the executable with -gl but I get the below: An unhandled exception occurred at 0x08071049 : EOutOfMemory : Out of memory $08071049 $080705FD $08068B2A $08068E30 $4D664F74 P$LSA2_finalize_implicit, line 683 of lsa2.pas -Alan