comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: String to Variable Name Mapping
Date: 1996/04/13
Date: 1996-04-13T00:00:00+00:00	[thread overview]
Message-ID: <dewar.829399465@schonberg> (raw)
In-Reply-To: 4kjico$emb@newssvr.cacd.rockwell.com

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.






  reply	other threads:[~1996-04-13  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-11  0:00 String to Variable Name Mapping F. Britt Snodgrass
1996-04-13  0:00 ` Robert Dewar [this message]
1996-04-13  0:00 ` Laurent Guerby
1996-04-19  0:00 ` Todd Coniam
1996-04-25  0:00 ` Felaco
replies disabled

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