Posts: 82
Threads: 8
Joined: Oct 2006
09-15-2007, 01:13 PM
(This post was last modified: 09-22-2007, 12:08 PM by Opresion.)
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
Posts: 92
Threads: 1
Joined: May 2006
I'm lost.
Dim Matrix(100, 100, 100) As Integer works with fb without fooling around with -lang.
![[Image: rg_link.png]](http://ragnarokgames.googlepages.com/rg_link.png)
I'm a dog and I feel dirty baby
Posts: 82
Threads: 8
Joined: Oct 2006
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
Posts: 324
Threads: 12
Joined: Nov 2005
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:
Posts: 82
Threads: 8
Joined: Oct 2006
(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
Posts: 82
Threads: 8
Joined: Oct 2006
09-22-2007, 12:20 PM
(This post was last modified: 09-25-2007, 01:50 PM by Opresion.)
(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
Posts: 6
Threads: 2
Joined: Aug 2007
Posts: 82
Threads: 8
Joined: Oct 2006
(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
Posts: 92
Threads: 1
Joined: May 2006
I don't understand much of this thread.
![[Image: rg_link.png]](http://ragnarokgames.googlepages.com/rg_link.png)
I'm a dog and I feel dirty baby
Posts: 82
Threads: 8
Joined: Oct 2006
(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