Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1528 by [email protected]: Set Variable Unless
http://code.google.com/p/robotframework/issues/detail?id=1528

As exists pair of keywords for 'if' statement:
Run Keyword if
Run Keyword Unless

There should be a pair keyword for:
Set Variable If

To avoid this kind of situation:
${answer}  Set Variable if      '${param}'=='a'  VELL DONE
${answer}  Run Keyword Unless   '${param}'=='a'  Set Variable NOPE

it will be clear and much easier to read this:
${answer}  Set Variable if      '${param}'=='a'  VELL DONE
${answer}  Set Variable Unless  '${param}'=='a'  NOPE

Moreover, that will be excellent choice to use those for 'if' statement when you want return a value.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to