[fpc-pascal]error messages

Johann Glaser Johann.Glaser at gmx.at
Tue Sep 19 15:16:07 CEST 2000


Hi!

> > Also, is there a procedure for forcing a program to
> > generate an error of a given type? 
> 
> Hmm. HALT(X); ?

No, Halt(x) will only set the ExitCode of the program.

There will be no runtime error!

But, when a runtime error occurs, it exits with Halt(ErrNo); (so it is
opposite as you perhaps thought)

Bye
  Hansi

-- 
Sent through GMX FreeMail - http://www.gmx.net




More information about the fpc-pascal mailing list