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


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

Arrays in BASIC

Path csiph.com!aioe.org!U/KX8ba/OMuTXW5s0P7Tsg.user.46.165.242.75.POSTED!not-for-mail
From Paul Stewart <narrowboat-paul@outlook.com>
Newsgroups comp.sys.acorn.programmer
Subject Arrays in BASIC
Date Sun, 02 Jan 2022 20:36:06 GMT
Organization Aioe.org NNTP Server
Lines 22
Message-ID <3261a6a459.Paul@outlook.com> (permalink)
Injection-Info gioia.aioe.org; logging-data="29604"; posting-host="U/KX8ba/OMuTXW5s0P7Tsg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent Messenger-Pro/8.05wpb1 (RemoteNB/3.13) (RISC-OS/4.42)
X-Notice Filtered by postfilter v. 0.9.2
X-Editor EmailEdit 2.04
Xref csiph.com comp.sys.acorn.programmer:6302

Show key headers only | View raw


Hi guys,

Need to pick you brains on Arrays.

Looking at Arrays in the Archimedies User Guide (vintage July 1987), I 
have come to the understanding that it is possible to declare an array 
local to a function or procedure.  Having tried to do this, I keep getting 
Syntax Error.

I am trying using: LOCAL DIM a$(1,1)

Also tried different permutations, but all come back with Syntax error.

Am I barking up the wrong tree here or just completely misunderstanding 
the examples provided?

Any advice examples you can give, much appreciated.


-- 
Paul Stewart
Sent from A9home running RISC OS 4.42

Back to comp.sys.acorn.programmer | Previous | NextNext 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