[Tutor] Reference a variable from a string whose value is the name of the variable

Peter Jessop pjlists at gmail.com
Tue Jun 6 01:28:01 CEST 2006


Thanks Andre

I realise now I did not make it too clear.
Basically the variable names are predictable but the values aren't.

Maybe I should have expressed it like this

f0_n = "arbitrayValue"
f0_v ="another valule"
f1_n="something else"
f1_v="etc.."
...

f100_n = "another value"
f100_v = "nexvalue"

I then wish to pass the list of 2ples as an argument to a function and
thus I need the variable themselves and not the string values.


More information about the Tutor mailing list