[fpc-pascal] exitcode=2 what is that?

Vincent Snijders vsnijders at quicknet.nl
Fri Mar 30 10:28:53 CEST 2007


liyupeng schreef:
> Hi,list,
> this is the first time of using free pascal!
>  
> after I compiled my program successful, I run it. The information is 
> "exitcode=2".
>  
> what is that mean?
>  

It means: File not found

See runtime error list:
http://www.freepascal.org/docs-html/user/userap4.html

Try compiling with -gl, it may give you a usable stack trace, where the wrong file
name is used.

Vincent



More information about the fpc-pascal mailing list