delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/01/15:24:21

Message-ID: <014501c10263$67e9fbd0$6600a8c0@mars>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: <djgpp AT delorie DOT com>
References: <9hlpjj$7v8$1 AT wildfire DOT prairienet DOT org> <993950358 DOT 624207 AT queeg DOT ludd DOT luth DOT se> <003a01c10293$4540b080$267a5a8f AT neo>
Subject: Re: Variable names to string
Date: Sun, 1 Jul 2001 21:24:08 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp AT delorie DOT com

> I can get the variable name and convert to string
> but i need to get the variable value by the name of the variable(string)

I didn't know of the #-operator :P Well, there is no portable way as I know.
You have to store them in a way that makes searching for names possible.
Or, not portable, I think you can read the symbols in the exe to get
pointers
to variables. But that's not my table so prepare a grain of salt :)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019