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.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:16ad:: with SMTP id s13mr27104278qkj.453.1620736510388; Tue, 11 May 2021 05:35:10 -0700 (PDT) X-Received: by 2002:a25:c60e:: with SMTP id k14mr39508155ybf.462.1620736510135; Tue, 11 May 2021 05:35:10 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!weretis.net!feeder8.news.weretis.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, 11 May 2021 05:35:09 -0700 (PDT) In-Reply-To: <609a5eaf$0$20558$e4fe514c@news.kpn.nl> Injection-Info: google-groups.googlegroups.com; posting-host=2a03:7380:380d:3b:9c5e:fba5:eb07:6a7c; posting-account=K1cP1QoAAAD_GR6kW2Td0NqGqGBLRE8h NNTP-Posting-Host: 2a03:7380:380d:3b:9c5e:fba5:eb07:6a7c References: <609a5eaf$0$20558$e4fe514c@news.kpn.nl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Printing the address From: Maxim Reznik Injection-Date: Tue, 11 May 2021 12:35:10 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61979 List-Id: Actually, you don't need the address image to find if it is null. You can print instead Put_Line (Boolean'Image (Boxes (n) = null)); When you really need the address image you can use function System.Address_Image (A : Address) return String; and an instantiation of System.Address_To_Access_Conversions generic package to convert Box_Acces value to System.Address. PS. BTW, I would use a debugger in such cases.