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!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 20 Jul 2019 08:54:39 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: How to make Ada popular. Get rid of ";" at end of statement. Date: Sat, 20 Jul 2019 09:54:41 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <38571ba9-e22f-452e-bba6-89abb6d4a01a@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-2BpjhAvoQ9lbr5T8bLrPgDwc0e019ypKvRWYHHJuq0u/W9+Gem3vFeQ1rnBmx85kpcSX46hdZyac1MW!3QW2p/TLrSUmt6eAOfopyxNnYAl9JT2I7SUoVdQPLeq40L9jrOjrAhGFsEM/BU7s4fWqF0DY X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html 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: 2101 Xref: reader01.eternal-september.org comp.lang.ada:56899 Date: 2019-07-20T09:54:41-04:00 List-Id: On Fri, 19 Jul 2019 17:47:17 -0700 (PDT), Matt Borchers declaimed the following: >Python does have a separator. It's the newline. Ada treats newline as whitespace same as space or tab. Not quite... a newline with unclosed paren/brace/bracket is just logically another space/tab x = f(a, b, c) Gets really fun with strings, as Python concatenates adjacent string literals... >>> longstr = ( "part one" ... "part two " ... "part three" ) >>> longstr 'part onepart two part three' >>> >>> longstr = [ "part one" ... "part two " ... "part three" ] >>> longstr ['part onepart two part three'] >>> {Difference being that the () just grouped the three, while [] defines a list -- of one element, being the concatenated strings} -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/