Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Runtime Error 7

Author
Message
Manticore Night
22
Years of Service
User Offline
Joined: 23rd Oct 2003
Location: Ouinnipeg
Posted: 13th Jul 2006 02:30
Hi, I've got a runtime error 7 in my program. I did some reasearch and apparently it means out of memory. I restarted my computer to free up some memory and it still happens. Has anybody else go this error, any tips on fixing it.

[center]It's amazing how much TV has raised us. (Bart Simpson)

He's back! With 20% less intelligence!
Sven B
21
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 13th Jul 2006 12:03
I guess you can only fix it by using less memory. Are you sure your hard disk has enough space left?

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
SimSmall
21
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 13th Jul 2006 12:26 Edited at: 13th Jul 2006 12:27
Sorry to be the bearer of bad news, but you have misdiagnosed your problem. Error 7 is "Array accessed out of bounds"

run it from the editor, and it should crash in the same place. This problem is usually caused by referencing an array dimension with a variable that increases out of array's range.

Login to post a reply

Server time is: 2026-07-07 05:59:16
Your offset time is: 2026-07-07 05:59:16