From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Forth and others (Was Re: How to get Ada to ?cross the chasm??) Date: Sun, 13 May 2018 10:06:00 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <878t8x7k1j.fsf@nightsong.com> <87k1sg2qux.fsf@nightsong.com> <87h8njmk4r.fsf@nightsong.com> <87po27fbv9.fsf@nightsong.com> <87in7x62vw.fsf@nightsong.com> <878t8szdtk.fsf@nightsong.com> <87tvrdhl5v.fsf@nightsong.com> <87sh6w7mac.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 13 May 2018 08:06:00 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a1155d999dddf47c109a52f2b6374ea4"; logging-data="9790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RkLwiXtTjxa7c2JV2wb8K1edyBucnJak=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:MDKO8NfvnrlMQlU61geIoOpTP/Y= Xref: reader02.eternal-september.org comp.lang.ada:52333 Date: 2018-05-13T10:06:00+02:00 List-Id: On 05/12/2018 11:27 PM, Niklas Holsti wrote: > > The HP-BASIC in use allowed variable identifiers of the form: one letter A-Z > followed by one optional decimal digit. My 1st PC was an Acorn Atom. Its BASIC was quite fast, mainly because it only had 26 16-bit integer variables, named A-Z. An array or string used up one of those variables and stored the address of the 1st element in the variable. (There was also a variable named @, but it was used to control formatting of output, so you only used it in emergencies.) If you had the optional floating-point ROM, you also got an additional 26 floating-point variables, named (IIRC) %A-%Z. -- Jeff Carter "C's solution to this [variable-sized array parameters] has real problems, and people who are complaining about safety definitely have a point." Dennis Ritchie 25