U++ framework
Do not panic. Ask here before giving up.

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: Sat Apr 25 06:23:16 GMT+2 2026

Total time taken to generate the page: 0.00552 seconds