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 07:06:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!falcon.america.net!eagle.america.net.POSTED!not-for-mail From: Larry Hazel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <1akHa.59$Rk4.4201@eagle.america.net> Date: Mon, 16 Jun 2003 09:07:10 -0500 NNTP-Posting-Host: 66.0.32.41 X-Trace: eagle.america.net 1055772413 66.0.32.41 (Mon, 16 Jun 2003 10:06:53 EDT) NNTP-Posting-Date: Mon, 16 Jun 2003 10:06:53 EDT Organization: 24hoursupport.com Xref: archiver1.google.com comp.lang.ada:39250 Date: 2003-06-16T09:07:10-05:00 List-Id: Bill Findlay wrote: > 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. > I like it. Except for a possible conflict with the concatenation operator, "&" would be a good choice for people familiar with the substitution command in the unix editors .. vi, ed, and sed. Larry