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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-16 06:50:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!wanadoo.fr!proxad.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-binary.blueyonder.co.uk.POSTED!53ab2750!not-for-mail User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: Ideas for Ada 200X From: Bill Findlay Newsgroups: comp.lang.ada Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Date: Mon, 16 Jun 2003 14:49:18 +0100 NNTP-Posting-Host: 80.195.75.181 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news-binary.blueyonder.co.uk 1055771428 80.195.75.181 (Mon, 16 Jun 2003 13:50:28 GMT) NNTP-Posting-Date: Mon, 16 Jun 2003 13:50:28 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:39249 Date: 2003-06-16T14:49:18+01:00 List-Id: On 16/6/03 06:10, in article iicHa.1009748$Zo.229290@sccrnsc03, "Steve" wrote: > BTW: I don't really like the "+=" syntax, I like the functionality. I would > prefer something that is easier to distinguish, but has the same function. > I don't have anything I think is a good syntax though. > > For "count := count + 3: I've considered: > > "+".(count, 3); > count'In_Place( "+", 3 ); > Integer'In_Place( count, 3, "+" ); > > With a good syntax, such functionality would I think be a good thing. count := idem + 3; shiftTally(shift)(dayOfWeek(month).tallyIndex).sortTally(s).nbRejects := idem + 1; Where "idem" represents a token, to be decided upon, that denotes the variable on the LHS of the assignment. -- Bill-Findlay chez blue-yonder.co.uk ("-" => "")