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!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Sun, 30 Mar 2014 23:41:31 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <1656778100417879549.835031laguest-archeia.com@nntp.aioe.org> <1460904508417897880.765164laguest-archeia.com@nntp.aioe.org> Injection-Date: Sun, 30 Mar 2014 23:41:31 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="20111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19O7kADAAE94cdZiFRc69Pu2KR4aQ/aIzo=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:egIck/ziTulf0zwUsBR1g+VTou8= Xref: news.eternal-september.org comp.lang.ada:19058 Date: 2014-03-30T23:41:31+00:00 List-Id: On 2014-03-30, Luke A Guest wrote: > Simon Clubley wrote: >> On 2014-03-30, Luke A Guest wrote: >>> wrote: >>>> One wish to ease Input/output : >>>> To have some equivalent of C primitive : printf("%c %c %c %c %c \n %c %c %c %c %c \n", >>> >>> God no. This requires parsing the string in every call, the Ada does it no >>> is superior. Plus it requires parameter passing from the right rather than >>> the left. >> >> Also, I'm not quite sure what you mean by the latter. As far as I can see, >> the parameter passing would be left to right, just as it is in C. >> >> Simon. > > > C uses vararga which are passed right to left as the varargs functions use > thus right-ness to determine the number of parameters. > Sorry, I understand what you are saying now. I thought you were talking about the way it was written in the source code, not the way the compiler generated the parameter passing code. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world