Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fbasic could be 16 bits
#1
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.
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply
#2
I'm lost.
Dim Matrix(100, 100, 100) As Integer works with fb without fooling around with -lang.
[Image: rg_link.png]
I'm a dog and I feel dirty baby
Reply
#3
You have the reason:

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

'but completely without the -Lang option. <--this is another different opinion
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply
#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
#5
(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.
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply
#6
(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.
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply
#7
o.o?
Reply
#8
(09-26-2007, 03:39 AM)cha0s link Wrote:o.o?

I know that you know what I know.
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply
#9
I don't understand much of this thread.
[Image: rg_link.png]
I'm a dog and I feel dirty baby
Reply
#10
(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.
MY QBASIC'S PAGE                                                  I ONLY USE WINDOWS 98SE
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)