From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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.6 X-Received: by 2002:ac8:5f0d:: with SMTP id x13mr3386940qta.69.1625298363187; Sat, 03 Jul 2021 00:46:03 -0700 (PDT) X-Received: by 2002:a25:2b05:: with SMTP id r5mr4334908ybr.465.1625298363040; Sat, 03 Jul 2021 00:46:03 -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: Sat, 3 Jul 2021 00:46:02 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1206:4564:bea0:54ae:2aa5:1ce8:336b; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1206:4564:bea0:54ae:2aa5:1ce8:336b References: <69a59fdc-72bb-4202-99fc-d776530de653n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <79b3b0ff-8bc7-445a-b3a7-865a32f5d764n@googlegroups.com> Subject: Re: calling function but ignoring results From: Gautier write-only address Injection-Date: Sat, 03 Jul 2021 07:46:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62322 List-Id: > [~,name,ext] = fileparts(helpFile); In Ada it would be: Info := File_Parts (Help_File); You would use Info.name and Info.ext informations in the record only and ignore the other field. Not much more complicated...