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 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: String to Variable Name Mapping Date: 1996/04/13 Message-ID: #1/1 X-Deja-AN: 147324114 references: <4kjico$emb@newssvr.cacd.rockwell.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-04-13T00:00:00+00:00 List-Id: Britt asks "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?" No, and if you think about it a bit (visibility issues, safety issues, runtime efficiency issues -- any one would be sufficient), such a feature is out of the question in Ada. Some very dynamic languages like SNOBOL-4 and LISP have this feature.