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,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-26 10:41:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators Date: Thu, 26 Jun 2003 17:41:12 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: d2-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1056649272 5640 134.91.1.15 (26 Jun 2003 17:41:12 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 26 Jun 2003 17:41:12 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/831)) Xref: archiver1.google.com comp.lang.ada:39777 Date: 2003-06-26T17:41:12+00:00 List-Id: Preben Randhol wrote: : Georg Bauhaus wrote: :> But we are close to that already, here is an excerpt from a working program: :> :> case a*(%$%) is :> when o.O => A :=+ ('o'); :> when (8-v)|12#8B# => OM(O.%/%(0,-0)); :> when 2!2:0:..2:1: => null; :> when others => << oO >> O.oo (O.o>o.O); :> end case; :> : : I don't believe this is from a *working* program. o.K. procedure glub is procedure OM(o: natural) is begin null; end OM; a: Natural := 1; v: constant := 1; package o is o: constant := 17; procedure oo (o: Boolean); function "/"(o,oo: Natural) return natural; function "*"(left: Natural; right: String) return Natural; function "+"(o: Character) return Natural; end o; package body o is procedure oo (o: Boolean) is begin null; end oo; function "/"(o,oo: Natural) return Natural is begin return 0; end "/"; function "*"(left: Natural; right: String) return Natural is begin return 1; end "*"; function "+"(o: Character) return Natural is begin return 5; end "+"; end o; use o; begin case a*(%$%) is when o.O => A :=+ ('o'); when (8-v)|12#8B# => OM(O.%/%(0,-0)); when 2!2:0:..2:1: => null; when others => << oO >> O.oo (O.o>o.O); end case; end glub;