02-02-2005, 11:00 PM
Code:
Dim a(700*800*10) as integer
You are allocating 22.400.000 bytes there (an INTEGER is 32-bit long in FB), if it's inside a routine, forget, nor allocating a larger stack at compile time it will work, use REDIM instead.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php