Sven: > -Sg only enables intrafunction gotos if they should be disabled (don't > remember which mode disables them...)
Ok, so that's out. > > Is there a (non standard!) exit function in fpc that I could use > > during compilation? (Then I could substitute it for the goto call > > before compiling.) > > I'd suggest you to use Halt(ErrorCode) instead. It's defined in unit > system. That worked, thanks. Of course I had to rename my 'halt' proceedure something else. It would be possible to modify the program this way. But the next email nailed it ... Tom Thomas D. Schneider, Ph.D. Senior Investigator National Institutes of Health National Cancer Institute Center for Cancer Research Gene Regulation and Chromosome Biology Laboratory Molecular Information Theory Group Frederick, Maryland 21702-1201 schne...@mail.nih.gov https://schneider.ncifcrf.gov (current link) https://alum.mit.edu/www/toms (permanent link) _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel