Hello Franz,
this is a quirk in the way RF variables work. List (@) variables only
support one level of indexing, however there are two ways to utilize
the extended variable syntax[1] to access specific tuple in your
example:
1) You can use set variable keyword like this:
| @{tuples}= | Some keyword that returns list of tuples |
| ${elem}= | Set Variable | @{tuples}[0]
| Log Many | ${elem[0]} | ${elem[1]}
2) From the get go, assign the whole return value as a scalar var:
| ${tuples}= | Some keyword that returns list of tuples |
| Log Many | ${tuples[0][0]} | ${tuples[0][1]}
Note that in the latter example, both the indexing actions are before
the closing '}'.
hope this helps,
__j
--
Janne Härkönen | Software Craftsman @ Reaktor
http:// reaktor.fi | http://twitter.com/#!/janneharkonen