Qbasicnews.com

Full Version: on error goto XXX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does the on error goto XXX statement works?
I try the onerror.bas example but allways give me the next message :

File exists (0=false): -1
error number: 1234


although I supply a name of a file that exists or no exists on the same directory of the executable.

I'am using the last version of FreeBasic on Win98SE.

Greets
Carlos
I think you have to compile with the -e switch
Yeps!; Thanks, that was the problem.