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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7d8ad14b2bbc7921 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-24 10:15:42 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.ip.ndsoftware.net!news.completel.fr!ircam.fr!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "amado.alves" Newsgroups: comp.lang.ada Subject: Re: unconstrained array question Date: Mon, 24 Nov 2003 18:11:51 -0000 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1069697523 8264 80.67.180.195 (24 Nov 2003 18:12:03 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 24 Nov 2003 18:12:03 +0000 (UTC) To: Return-Path: X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: unconstrained array question Thread-Index: AcOytm79vZUKLZYfRdezdXMkAOdl8g== X-OriginalArrivalTime: 24 Nov 2003 18:11:51.0898 (UTC) FILETIME=[6F61D3A0:01C3B2B6] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2908 Date: 2003-11-24T18:11:51+00:00 First, you cannot call an abstract function. Correct that, either by making the function concrete (elide "abstract" = and provide a body), or by deriving from the controlling type and = providing a (concrete) function for the derived type. Then, to convert between any two compatible types you just write Target_Type (Object_Of_Source_Type)