No you can't. i in your scenario is the key for each value so the only way to get the actual value would to do
['val1', 'val2', 'val3'][i] which would defeat the purpose
Reputation Points: 520
Solved Threads: 268
Code Monkey
Offline 1,564 posts
since Apr 2005