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 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:4f07:: with SMTP id d7mr10564601qkb.144.1596739236245; Thu, 06 Aug 2020 11:40:36 -0700 (PDT) X-Received: by 2002:ac8:47c8:: with SMTP id d8mr9681723qtr.32.1596739236039; Thu, 06 Aug 2020 11:40:36 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Aug 2020 11:40:35 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=165.73.112.105; posting-account=FlDDTgoAAAB5iCuW7fM5pP_RHQGC8krX NNTP-Posting-Host: 165.73.112.105 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8b2858e0-e69c-4a22-ad51-a6a7c51e7a7do@googlegroups.com> Subject: Newbie question # 2 From: Ian Douglas Injection-Date: Thu, 06 Aug 2020 18:40:36 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59673 List-Id: Hi all I did try Google search and assorted books but could not find answer. In PHP, let's say we have a variable $fruit which contains the string "banana". In PHP, if I do $$fruit, then it creates a variable $banana, which I can then do things with. Does Ada support any such concept of taking the contents of one variable and using THAT as a variable? I'm reading in a file which has a name of an object followed by some properties so I want to use the name as a variable ... File is something I created, so it's not some random stuff, and the variables will be existing already. Thanks, Ian