Article View: comp.sys.mac.apps
Article #7054Re: MS QuickBASIC maximum array size?
From: Matt Mora
Date: Sat, 02 Feb 1991 00:11
Date: Sat, 02 Feb 1991 00:11
20 lines
1250 bytes
1250 bytes
In article <1991Jan30.015926.10404@dartvax.dartmouth.edu> byoung@eleazar.dartmouth.edu (Brian Young) writes: >I am writing a program in QuickBASIC which requires an integer array of 40,000 >elements. When I try to run the (compiled) program, it gives an "out of 40,000 elements? Wow how did you do that? I think QB is limited to 32767 elements in one array. I think because it uses an integer offset. You could have two arrays a 20k a piece and if you index is > 20 then subtract 20k from the index and use the second array. -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@QM.SRI.COM SRI International | my SUN mxmora@unix.sri.com ___________________________________________________________
Technical Details
Message-ID:
<20698@unix.SRI.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!agate!shelby!unix!mxmoraReferences:
<1991Jan30.015926.10404@dartvax.dartmouth.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!agate!shelby!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.apps Subject: Re: MS QuickBASIC maximum array size? Message-ID: <20698@unix.SRI.COM> Date: 2 Feb 91 00:11:05 GMT References: <1991Jan30.015926.10404@dartvax.dartmouth.edu> Reply-To: mxmora@unix.UUCP (Matt Mora) Distribution: usa Organization: SRI International, Menlo Park, CA Lines: 20