Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Qbasics for Windows
#7
Above, I posted a possible solution to your thoughts on large arrays in QB.  Since then, I have explored farther, and have found that I can create a number (N) of three-dimensional arrays of the type  A(x,x,x), as follows:
            Total # of
  x    N  Elements
25    5  78125
24    6  82944
23    6  73002
22    7  74536
21    9  83349
20  10  80000
19  12  82308
18  14  81648
17  17  83521
16  20  81920

It would seem safe to assume that just about anybody should be able to approach those levels, which falls short of your desired three-dimensional arrays with x = 100 (1,000,000 elements), and higher, as the most I could get, using my method, would be 78,125 elements using 5 arrays with  x=25 (equivalent to a (42,42,42) array), or  82,944 elements using 6 arrays with x=24 (equivalent to a (43,43,43) aray).

However, back in 1986, I had the problem that Bechtel, the engineering company that I worked for, had a requirement for a 100-bus electrical voltage-drop program.  We had a BASIC program we bought from General Electric that was good for 25 busses.  It turned out that there were 4 (or was it 5?) three-dimensional arrays of (bus,bus,bus) size.  I tweeked that program, and got 28 buses maximum!  Finally, I learned of an IBM (or was it MicroSoft?) program that allowed one to use "far memory", which allowed me to convert the original 25-bus program to 120 busses.  Unfortunately, I don't have that program, nor do I remember its name.  Perhaps an intense search could find it?
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply


Messages In This Thread
Qbasics for Windows - by Opresion - 09-19-2007, 04:49 PM
Re: Qbasics for Windows - by Opresion - 09-19-2007, 05:05 PM
Re: Qbasics for Windows - by Opresion - 09-19-2007, 05:09 PM
Qbasics for Windows - by Opresion - 09-19-2007, 05:13 PM
The Qbasics for Windows - by Opresion - 10-01-2007, 04:13 PM
Re: Qbasics for Windows - by Ralph - 01-10-2008, 09:56 AM
Re: Qbasics for Windows - by Ralph - 01-13-2008, 12:29 AM
Qbasics for Windows - by Opresion - 01-30-2008, 05:13 PM
Re: Qbasics for Windows - by Ralph - 01-31-2008, 06:58 AM
Qbasics for Windows - by Opresion - 02-01-2008, 01:05 PM
Re: Qbasics for Windows - by Ralph - 02-02-2008, 04:50 AM
Re: Qbasics for Windows - by Ralph - 02-02-2008, 10:40 AM
Re: Qbasics for Windows - by Opresion - 02-06-2008, 12:35 PM
Qbasics for Windows - by Opresion - 02-06-2008, 12:46 PM
Re: Qbasics for Windows - by Ralph - 02-07-2008, 02:48 AM
QBasics for Windows - by Opresion - 02-08-2008, 12:29 PM
Re: Qbasics for Windows - by Ralph - 02-09-2008, 07:31 AM
Qbasics for Windows - by Opresion - 02-17-2008, 02:32 PM
Re: Qbasics for Windows - by Ralph - 02-18-2008, 07:50 AM
Qbasics for Windows - by Opresion - 02-18-2008, 12:19 PM
Re: Qbasics for Windows - by Ralph - 02-19-2008, 07:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)