• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 Qbasics for Windows Ralph Senior Member Posts: 544 Threads: 27 Joined: Jan 2005 01-13-2008, 12:29 AM 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. « Next Oldest | Next Newest »

 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)