Actually, I guess he's trying to do something different, perhaps inspired
from PHP or Perl. In these languages, you can do something like this:
$foo = "What a nice test!";
$a = "foo";

echo $$a;

Which then prints out "What a nice test!". Another example of what is
possible in PHP:
$test['foo'] = "bar";

echo $test['foo'];

But: this can only be done in scripting languages. Internally, the PHP
interpreter will have to do much the same things you have already posted
(setting up a hash-table, doing strcmps etc).

Hope that helps (well, it does not help at all actually, it simply says it's
not possible in C/C++).

TheTinySteini

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to