This is a simple question.
sally = 25
jenny = 27
name = 'sally'
Is there a way for me to get the value of sally using the variable name?
I know it can be done in php.
#php code
<?php
$sally = 25;
$jenny = 27;
$name = 'sally';
echo $$name;
?>