Qbasicnews.com
Fbasic could be 16 bits - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+--- Thread: Fbasic could be 16 bits (/thread-10045.html)

Pages: 1 2


Fbasic could be 16 bits - Opresion - 09-15-2007

Many weeks before today i made this test with Visual Basic one, two and the three.

Dim Matrix(100, 100, 100) As Integer

Only the Visbasic 3 did admit it without an error message.

It could be a wonder but completely without the -Lang option. That option did convert the FB in a very strange language that I think I won't practice in many many years.


Re: Fbasic could be 16 bits - BadMrBox - 09-17-2007

I'm lost.
Dim Matrix(100, 100, 100) As Integer works with fb without fooling around with -lang.


Re: Fbasic could be 16 bits - Opresion - 09-18-2007

You have the reason:

'Fbasic could be 16 bits' <-- this is one opinion

'but completely without the -Lang option. <--this is another different opinion


Re: Fbasic could be 16 bits - stylin - 09-20-2007

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.



Re: Fbasic could be 16 bits - Opresion - 09-22-2007

(09-15-2007, 01:13 PM)Opresion link Wrote:Many weeks before today i made this test with Visual Basic one, two and the three.

Correction, I now remeber, I didn't test it in Visbasic 2, they were Visbasic 1, 3 standard and 3 professional. The One says "Subscript Out of Range", never the Visbasics 3.


Fbasic could be 16 bits - Opresion - 09-22-2007

(09-20-2007, 12:32 AM)stylin link Wrote:What does FreeBASIC do for you, and what version are you using ?

No one for this test, I am completely sure it works in Fbasic.


Re: Fbasic could be 16 bits - cha0s - 09-26-2007

o.o?


Fbasic could be 16 bits - Opresion - 09-29-2007

(09-26-2007, 03:39 AM)cha0s link Wrote:o.o?

I know that you know what I know.


Re: Fbasic could be 16 bits - BadMrBox - 10-11-2007

I don't understand much of this thread.


Fbasic could be 16 bits - Opresion - 10-16-2007

(10-11-2007, 11:33 PM)BadMrBox link Wrote:I don't understand much of this thread.

I can' t imagine the power that could have the Fbasic today if the Fbasic could begin to be constructed since those days.