From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:e109:: with SMTP id c9mr4650589qkm.370.1611649073559; Tue, 26 Jan 2021 00:17:53 -0800 (PST) X-Received: by 2002:a25:cf42:: with SMTP id f63mr6382924ybg.363.1611649073360; Tue, 26 Jan 2021 00:17:53 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!gandalf.srv.welterde.de!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 26 Jan 2021 00:17:53 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=87.143.127.6; posting-account=rHjQvgoAAACyPWm5s-bLXdFCueApAPxr NNTP-Posting-Host: 87.143.127.6 References: <9e1b5d67-be08-4f53-aadc-fbed761a8c24n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Simple example on interfaces From: Mario Blunk Injection-Date: Tue, 26 Jan 2021 08:17:53 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61204 List-Id: Dmitry, thanks for your help. I reordered things in the example. The outcome can be seen here: https://github.com/Blunk-electronic/ada_training/tree/master/src/interfaces But as you already said, p2 can not be a real record element as we can see in https://github.com/Blunk-electronic/ada_training/blob/master/src/interfaces/lib/pac_1.adb There is no source to fetch the "content" of p2 as there is no element p2. Perhaps I did not understand your approach completely. I think I should abandon the idea to solve the problem with an interface.