Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Codes
#1
Is there a list of what all the error code that attack you in FreeBASIC means?

0 = No error
128 = File not found

That's about all I know :roll:
Reply
#2
I would think the errors are according to the OS you're coding under :-)....
I built a list of Windows errors on my website

http://www.ascii-world.com/tutors/window...sages.html
hen they say it can't be done, THAT's when they call me ;-).

[Image: kaffee.gif]
[Image: mystikshadows.png]

need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
Reply
#3
The runtime errors list is pretty short, taken from libfb_error.c:

Code:
static const char *error_msg[] = {
"",    /* FB_RTERROR_OK */
"illegal function call", /* FB_RTERROR_ILLEGALFUNCTIONCALL */
"file not found",  /* FB_RTERROR_FILENOTFOUND */
"file I/O error",  /* FB_RTERROR_FILEIO */
"out of memory",  /* FB_RTERROR_OUTOFMEM */
"illegal resume"  /* FB_RTERROR_ILLEGALRESUME */
};

OK = 0, ILLEGALFUNCTIONCALL = 1 and so on..
Reply
#4
would it be possible to add an "out of bounds" error for arrays?
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Reply
#5
Only when that gets added, it will have to be added inline etc.. adding proper debugging support is the next priority..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)