Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6308

Re: Arrays in BASIC

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!2.eu.feeder.erje.net!feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Sun, 02 Jan 2022 17:18:28 -0600
From Martin <News03@avisoft.f9.co.uk>
Subject Re: Arrays in BASIC
Newsgroups comp.sys.acorn.programmer
Date Sun, 02 Jan 2022 23:18:05 +0000 (GMT)
Message-ID <59a4b535ebNews03@avisoft.f9.co.uk> (permalink)
References <3261a6a459.Paul@outlook.com> <65baa8a459.harriet@bazleyfamily.co.uk> <59a4ae6e72News03@avisoft.f9.co.uk> <d014b2a459.harriet@bazleyfamily.co.uk>
User-Agent Pluto/3.19a (RISC OS/5.29) NewsHound/v1.54
Organization None
Lines 29
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-FLWNqD+yQXjGbGefDpsBCJbwif1RQ/CvGLOkjcyFKohOCEQUFVpbUkMVoIKGypRF1qcYFkfz0ungBDJ!CrzehBNWQye68FkzYiKZ1rDZsrHMtjj1/EbiCveVpIdnyxi/MrZw9b/Qo9xaq/vh1jqMBLr5p+er!enk=
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2104
Xref csiph.com comp.sys.acorn.programmer:6308

Show key headers only | View raw


In article <d014b2a459.harriet@bazleyfamily.co.uk>,
   Harriet Bazley <harriet@bazleyfamily.co.uk> wrote:
> On 2 Jan 2022 as I do recall,
>           Martin  wrote:

> > You should download the BASIC manual from
> > https://www.riscosopen.org/content/downloads/common
> > which is *much* more up to date!

> There's certainly stuff in there about arrays that I had no idea
> about - I don't know if that's because it's genuinely new since
> 1987, or because I never attempted whole-array operations....

> 10 DIM A(2,2)
> 60 A() += n%*n%

> equates to "square the variable n% and increase each and every
> element in the array A() by the result of that calculation"

I should perhaps have pointed out that the manual I referred to
includes updates for recent versions of BASIC (see section on
changes) and I have noticed that Paul is running RO4.42 ... so may
not have a recent version, though it can be run in ancient versions
of RISC OS.

-- 
Martin Avison 
Note that unfortunately this email address will become invalid
without notice if (when) any spam is received. 

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Arrays in BASIC Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-02 20:36 +0000
  Re: Arrays in BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-02 21:01 +0000
    Re: Arrays in BASIC Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-02 21:56 +0000
      Re: Arrays in BASIC Paul Stewart <narrowboat-paul@outlook.com> - 2022-01-02 22:18 +0000
    Re: Arrays in BASIC Martin <News03@avisoft.f9.co.uk> - 2022-01-02 22:04 +0000
      Re: Arrays in BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-01-02 22:43 +0000
        Re: Arrays in BASIC Martin <News03@avisoft.f9.co.uk> - 2022-01-02 23:18 +0000
        Re: Arrays in BASIC Steve Drain <steve@kappa.me.uk> - 2022-01-03 09:46 +0000

csiph-web