Posts: 36
Threads: 12
Joined: Apr 2005
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:
Posts: 525
Threads: 23
Joined: Oct 2004
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
Posts: 922
Threads: 15
Joined: Jun 2003
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..
Posts: 489
Threads: 34
Joined: Jan 2005
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
Posts: 922
Threads: 15
Joined: Jun 2003
Only when that gets added, it will have to be added inline etc.. adding proper debugging support is the next priority..