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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd4e0f4e248c8168,start X-Google-Attributes: gid103376,public From: "F. Britt Snodgrass" Subject: String to Variable Name Mapping Date: 1996/04/11 Message-ID: <4kjico$emb@newssvr.cacd.rockwell.com>#1/1 X-Deja-AN: 147245444 content-type: text/plain; charset=us-ascii organization: Rockwell CACD mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 1.2 (Windows; I; 16bit) Date: 1996-04-11T00:00:00+00:00 List-Id: Is there an attribute or some other way to use the contents of a string variable to point to another variable? For example, if I have the following declarations, Int_Var : Integer; Str_Var : String (1..32) := "Int_Var"; can I somehow use the contents of Str_Var to make an assignment to Int_Var? I'd like to do this as a way of initializing variables by reading from a text file containing the variable name and the desired initial value. Thanks, Britt Snodgrass (mailto:britt@acm.org)