Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Dynamic Variable Names
Dynamic Variable Names [message #13543] Mon, 14 January 2008 16:33 Go to previous message
gonzofish is currently offline  gonzofish
Messages: 9
Registered: January 2008
Location: USA
Promising Member

Is there any facility in U++ that makes it possible to have dynamic variable names and variable types?

I'm parsing a config file and it'd be nice to have the specified config variables be used in the parser. I know in scripting languages, such as PHP, that it is possible to have:

$var = "real_var";
$$var = "foo and bar";
echo $real_var;

and the output would be "foo and bar".

Thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rect_ operators overloading suggestion
Next Topic: logs in release builds (801.r97, SVN rev 90)
Goto Forum:
  


Current Time: Tue May 07 05:39:10 CEST 2024

Total time taken to generate the page: 0.01256 seconds