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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,39f3c359196fe8b4,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-20 05:09:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail From: "kat-Zygfryd" <6667@wp.pl> Newsgroups: comp.lang.ada Subject: for x'address or variant Date: Sun, 20 Apr 2003 13:50:46 +0200 Organization: news.onet.pl Sender: samael_@op.pl@pl137.poznan.cvx.ppp.tpnet.pl Message-ID: NNTP-Posting-Host: pl137.poznan.cvx.ppp.tpnet.pl X-Trace: news.onet.pl 1050839473 25812 217.99.113.137 (20 Apr 2003 11:51:13 GMT) X-Complaints-To: abuse@onet.pl NNTP-Posting-Date: 20 Apr 2003 11:51:13 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:36314 Date: 2003-04-20T11:51:13+00:00 List-Id: I have a tiny problem, I want to have a structure: type P is access X; type X is record next: array(1..2) of P; left: P; right: P; end record; wherein the left component uses next(1)'address and right component uses next(2)'address, unfortunately "for x'address use" statements are not allowed within record declarations, and variant records don't allow me to access both next and left/right exchangably. do you know a way to work this out? Zygfryd @gnat3.15