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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6085ae1d74309e83,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i18g2000pro.googlegroups.com!not-for-mail From: Pablo Newsgroups: comp.lang.ada Subject: reference to a name variable Date: Thu, 23 Jul 2009 12:08:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9129a8e6-1aba-430c-bfbc-3154026697b8@i18g2000pro.googlegroups.com> NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1248376136 20308 127.0.0.1 (23 Jul 2009 19:08:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 23 Jul 2009 19:08:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000pro.googlegroups.com; posting-host=201.7.145.1; posting-account=n9Sa1woAAACZc_iwSjaEkj9Lnt-XVrSr User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7293 Date: 2009-07-23T12:08:56-07:00 List-Id: Hi all, I have an integer variable which I'd like to set dinamically equal to a value of a variable that I don't know at priori. Say as: I want to set My_Integer = IntegerValue(MyString), and MyString is the name of a (existing in the code) variable set in run-time. For instance, wonder if I have var1 and var2 which maybe I want the values in run-time, but I have just one editbox, so during execution I wanna set a string called MyString="var1" (or the other) and read the value of var1 in My_Integer. How do I do this? Thanks.