Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fbasic could be 16 bits
#4
Well, in FreeBASIC,

[tt]dim matrix(100, 100, 100) as integer[/tt]

will place 100x100x100x4 (4,000,000) bytes on the stack, since [tt]matrix[/tt] is a local automatic array (either of a user-defined procedure or the implicit main procedure). In Windows, the default stack size for FreeBASIC programs is 1MB (1,024x1,024 = 1,048,576 bytes), so the latest release (v.18.1b) warns me about that (whichever language dialect I use).

I don't know how the old VB versions handle that, but I'd imagine in a similar way; are you getting a compiler error message or just a warning ? What does FreeBASIC do for you, and what version are you using ? Sorry, I'm having trouble understanding you.
stylin:
Reply


Messages In This Thread
Fbasic could be 16 bits - by Opresion - 09-15-2007, 01:13 PM
Re: Fbasic could be 16 bits - by BadMrBox - 09-17-2007, 09:42 PM
Re: Fbasic could be 16 bits - by Opresion - 09-18-2007, 11:55 AM
Re: Fbasic could be 16 bits - by stylin - 09-20-2007, 12:32 AM
Re: Fbasic could be 16 bits - by cha0s - 09-26-2007, 03:39 AM
Fbasic could be 16 bits - by Opresion - 09-29-2007, 05:04 PM
Re: Fbasic could be 16 bits - by BadMrBox - 10-11-2007, 11:33 PM
Fbasic could be 16 bits - by Opresion - 10-16-2007, 05:30 AM
Fbasic could be 16 bits - by NilmTyNc73 - 11-21-2009, 08:05 PM
Re: Fbasic could be 16 bits - by Clippy - 11-22-2009, 02:45 AM
Re: Fbasic could be 16 bits - by Opresion - 09-22-2007, 12:15 PM
Fbasic could be 16 bits - by Opresion - 09-22-2007, 12:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)