Do you have something against eval? I think that's the most straightforward solution...
In reply to Re^4: Use with variable by edan in thread Use with variable by Anonymous Monk