From - Tue Jun 17 19:33:37 1997 Path: news2.cais.com!in1.nntp.cais.net!tezcat!feed1.news.erols.com!howland.erols.net!news.mathworks.com!camelot.ccs.neu.edu!not-for-mail From: Stainless Steel Rat Newsgroups: comp.emulators.apple2 Subject: Re: Applesoft Basic question... Date: 17 Jun 1997 22:57:16 -0400 Organization: The Happy Fun Ball Brigade Lines: 33 Sender: ratinox@swec-fw-e0.swec.com Message-ID: References: <339AF740.7FB6@alcor.concordia.ca> <5o3jf1$b17$1@newsboy.fiber.net> <33a7118f.944236@167.152.149.11> NNTP-Posting-Host: swec-fw-e0.swec.com X-No-Archive: yes X-Attribution: Rat X-Newsreader: Gnus v5.4.56/Emacs 19.34 -----BEGIN PGP SIGNED MESSAGE----- >>>>> "EIE" == Edhel Iaur, Esq >>>>> writes: EIE> One more thing I forgot to add: arrays are all pre-dimensioned to EIE> (10,10). If you're only gonna DIMension an array to some small size, EIE> don't bother. It already is. Only if you allow Applesoft to automatically dimension the array for you. If you specify array dimensions then Applesoft will use the specified dimensions. DIM A(5) creates a one dimensional array with six elements, not an 11x11 array as your comment indicates. This is especially important with FP arrays which will eat up quite a bit of memory: 10 bytes per element plus array header/index information. If you need a 6 element FP array but allow Applesoft to automatically dimension it to 121 elements (an 11x11 array) that wastes nearly 2Kb of what would other wise be usable RAM. -----BEGIN PGP SIGNATURE----- Version: 2.6.3 Charset: noconv iQCVAwUBM6dOiJ6VRH7BJMxHAQHOUwP/Wf/6P0JkHj6f7A8dCJ89rZpGhjiFkwHD WMzhL42CiGTfkjXJer16akEjlHFjRmXUmNRWVCm7koPgcnaXS6j7wHfbfO18BlCY tbHhIyV4NuWdgE8xdQD3mPJcYiBrYvzVEoAdNpOywrubCCJyRywHW7bw/kHH8MsW VN6QHx6FbFo= =PGYF -----END PGP SIGNATURE----- -- Rat \ Ingredients of Happy Fun Ball include an PGP Key: at a key server near you! \ unknown glowing substance which fell to \ Earth, presumably from outer space.