Home » U++ Library support » U++ Core » Dynamic Variable Names
| Dynamic Variable Names [message #13543] |
Mon, 14 January 2008 16:33  |
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.
|
|
|
|
Goto Forum:
Current Time: Sat Apr 25 06:23:16 GMT+2 2026
Total time taken to generate the page: 0.00552 seconds
|