New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support creating assigned variable name based on another variable like ${${var}} = Keyword
#4545
Comments
This is true. Notice, though, that
and
are totally different features and thus need separate issues. The former is about creating the name of the assigned variable dynamically and the latter is about setting an item to a list, a dictionary, or anything else that has The example in the description uses the |
The proposed
syntax is interesting because something like that isn't directly possible in Python. You can do it with Until this functionality is implemented, you ought to be able to use the
|
The proposed
syntax is the same as
in Python. For it the current workaround is using Collections keywords to add items to a dictionary or list, depending on the type of
|
${x ${y}} = Keyword
New #4546 now covers the item assignment syntax |
${x ${y}} = Keyword
${${var}} = Keyword
Apparently, it is not possible do return values into nested variables in RF, for cases like:
These can be quite handy aswell while using FOR loops, to populate values inside, like:
The text was updated successfully, but these errors were encountered: