From - Wed Jun 18 09:49:33 1997 Path: news2.cais.com!in1.nntp.cais.net!mr.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!easynet-uk!btnet-feed2!bmdhh222.bnr.ca!bhars12c.bnr.co.uk!bcarh8ac.bnr.ca!nrchh52.rich.nt.com!crchh327.rich.bnr.ca!news From: David Schmidt Newsgroups: comp.emulators.apple2 Subject: Re: Applesoft Basic question... Date: Wed, 18 Jun 1997 13:02:48 -0500 Organization: Bell Northern Research Lines: 31 Message-ID: <33A822C7.7834@bnr.ca> References: <339AF740.7FB6@alcor.concordia.ca> <5o3jf1$b17$1@newsboy.fiber.net> <33a7118f.944236@167.152.149.11> <5o8f1t$l9d@drn.zippo.com> NNTP-Posting-Host: carph682.rich.bnr.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/712) Jay wrote: > > In article <33a7118f.944236@167.152.149.11>, > LOSETHECAPITALWORDSedhel@bigfoot.com says... > > > >One more thing I forgot to add: arrays are all pre-dimensioned to > >(10,10). If you're only gonna DIMension an array to some small size, > >don't bother. It already is. > >-- > >| / / />___________________ +==Apple // Forever==+ > >|___ _____ M#M#M#||___________________---__ +-37th Wisest Wizard-+ > >| \ \ / #M#M#M||___________________--- +- Edhel Iaur, Esq. -+ > >| / / \_/ \> > >http://www.grin.net/~cturley/USA2WUG/FOUNDING.MEMBERS/HOME.PAGES/EDHEL > > ***For my correct email address, delete all the capital letters*** > > Of course, you meant a(10) and not a(10,10). Otherwise you'd probably > only have about 10k to program in. > > Jay. Actually, the first time you reference a subscripted array that hasn't been DIMed, it is created with subscripts 0-10 for each subscript you use: ?A(2) creates A(10) ?A(2,2) creates A(10,10) ?A(2,2,2) creates A(10,10,10) ?A(2,2,2,2) gets an out of memory error. David S.