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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,97439a4c062cf25d,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.165.130 with SMTP id i2mr9884492qay.2.1368108453518; Thu, 09 May 2013 07:07:33 -0700 (PDT) X-Received: by 10.49.134.36 with SMTP id ph4mr1045715qeb.30.1368108453457; Thu, 09 May 2013 07:07:33 -0700 (PDT) Path: y6ni16030qax.0!nntp.google.com!l3no3858563qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 9 May 2013 07:07:33 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=xhShowoAAABwJEaFCs7_gHiUlZrBvRhD NNTP-Posting-Host: 189.77.226.1 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: User defined type conversion From: =?ISO-8859-1?Q?Vin=EDcius_Franchini?= Injection-Date: Thu, 09 May 2013 14:07:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-05-09T07:07:33-07:00 List-Id: Hi Folks, I have a problem with a type conversion. Hereby is what I'm trying to do: type AB is tagged record A : Unsigned_16; B : Unsigned_16; end record; type abcde is tagged record a: Unsigned_8; b: Unsigned_8; c: Unsigned_8; d: Unsigned_8; end record; X : AB; Y : abcd; X := Y; I'd like to do a direct conversion without creating a method for it.