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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3796c9f26082a2b8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-31 01:24:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!kibo.news.demon.net!news.demon.co.uk!demon!pipehawk.demon.co.uk!not-for-mail From: john.nospam@nospamassen.nospamdemon.co.uk (John McCabe) Newsgroups: comp.lang.ada Subject: Re: Ada has no continual line(s) ?? Date: Fri, 31 May 2002 08:25:46 GMT Message-ID: <3cf73318.1770966@news.demon.co.uk> References: <3cf652a0.31278796@news.demon.co.uk> <3CF72C07.AB702A38@pea.dk> NNTP-Posting-Host: pipehawk.demon.co.uk X-NNTP-Posting-Host: pipehawk.demon.co.uk:158.152.226.81 X-Trace: news.demon.co.uk 1022833423 nnrp-12:2921 NO-IDENT pipehawk.demon.co.uk:158.152.226.81 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:25062 Date: 2002-05-31T08:25:46+00:00 List-Id: On Fri, 31 May 2002 09:53:43 +0200, Poul-Erik Andreasen wrote: >> In Ada statements can spread on multiple lines. >Yes, but not for strings. > >This function call wont work > >Put(" This is a message over more than one line >to illustrate that Ada don ignor newlines completely"); > >It vill an error > >missing string quote Of course it will - what other modern, high level language would allow you to do that? Certainly not C or C++. In fact Ada's string concatenation operator ('&' as you've shown below) is one of the most elegant ways I know of carrying this out. > >It have to bee > >Put(" This is a message over more than one line" & >"to illustrate that Ada don ignor newlines completely"); > > >-- >- >Poul-Erik Andreasen >Hvis du mangler nogen til noget eller du kan noget for nogen. >http://linux-freelance.pea.dk