Revision: 3197
Author: pekka.klarck
Date: Wed May 5 14:44:19 2010
Log: mention that all iterables supported only in rf 2.5
http://code.google.com/p/robotframework/source/detail?r=3197
Modified:
/trunk/doc/userguide/src/CreatingTestData/Variables.txt
=======================================
--- /trunk/doc/userguide/src/CreatingTestData/Variables.txt Wed May 5
05:31:22 2010
+++ /trunk/doc/userguide/src/CreatingTestData/Variables.txt Wed May 5
14:44:19 2010
@@ -439,10 +439,10 @@
not obligatory, but recommended, because it makes the assignment
more explicit.
-If a keyword returns an iterable, it is also possible to set it into
-several scalar variables or into a list variable. This is possible
-with keywords that return any Python or Java iterable (most common
-examples are lists/tuples in Python and arrays/ArrayLists in Java).
+If a keyword returns a list, it is also possible to assign the return
+value into several scalar variables and/or one list variable. Starting
+from Robot Framework 2.5 this works with all list-like objects, but
+prior to it only Python lists and tuples and Java arrays were supported.
.. table:: Assigning multiple values at once
:class: example
@@ -451,7 +451,7 @@
Test Case Action Argument Argument Argument
=============== ============ ========== ========== ==========
Return Multiple ${scalar} = Get 3 \ \
- \ ${a} ${b} ${c}= Get 3
+ \ ${a} ${b} ${c} = Get 3
\ ${first} @{rest} = Get 3 \
\ @{list} = Get 3 \ \
=============== ============ ========== ========== ==========