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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2bbd7f65ab12f156 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Q: how to copy contents and use ancestor's constraints at the same time ? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <46c0c9e8$1_3@news.bluewin.ch> Date: Tue, 14 Aug 2007 09:45:13 +0200 Message-ID: <1k4d6t1tg0k3c.jlwrzml5dc38.dlg@40tude.net> NNTP-Posting-Date: 14 Aug 2007 09:40:56 CEST NNTP-Posting-Host: 6de4024e.newsspool2.arcor-online.net X-Trace: DXC=YKd@Vi5]GL4;]cDoEWD6A4A9EHlD;3Yc24Fo<]lROoR1<`=YMgDjhg2iVh_7B^22`:[6LHn;2LCV>7enW;^6ZC`4IXm65S@:3>?oRS:nBYPeb4 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:1438 Date: 2007-08-14T09:40:56+02:00 List-Id: On Mon, 13 Aug 2007 23:16:05 +0200, Gautier wrote: > In the procedure below, how to do [A] and [B] together, and is there a way not > to have to write the constraints, What about: subtype Constrained_PF is PF (n1=>1, n2=>2, n3=>3); > like when constraining an object by > initializing it with a value of the same type ? X : PF := Y; -- ? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de