comp.lang.ada
 help / color / mirror / Atom feed
From: Pablo <pablittto@gmail.com>
Subject: reference to a name variable
Date: Thu, 23 Jul 2009 12:08:56 -0700 (PDT)
Date: 2009-07-23T12:08:56-07:00	[thread overview]
Message-ID: <9129a8e6-1aba-430c-bfbc-3154026697b8@i18g2000pro.googlegroups.com> (raw)

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.



             reply	other threads:[~2009-07-23 19:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 19:08 Pablo [this message]
2009-07-23 20:02 ` reference to a name variable Hibou57 (Yannick Duchêne)
2009-07-23 20:26   ` Dmitry A. Kazakov
2009-07-24 11:03 ` Stephen Leake
2009-07-28 13:51   ` Chrono
2009-07-28 18:25     ` Ludovic Brenta
2009-07-30 14:37       ` Chrono
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox