Comment #1 on issue 1622 by pekka.klarck: `BuiltIn.Evaluate`: Support for custom namespace
http://code.google.com/p/robotframework/issues/detail?id=1622

My initial idea was to support this by adding `**namespace` argument and allow using the keyword like:

    ${result} =    Evaluate    x*4 + 2    x=${10}    y=${2}

Unfortunately that would break all expressions where `=` is used:

    ${result} =    Evaluate    x==0

Needing to escape all equal signs in expressions would be a bad idea even if that change wasn't backwards-incompatible. Thus the support needs to be implemented by passing the namespace as a dictionary:

    ${ns} =    Create Dictionary    x=${10}    y=${2}
    ${result} =    Evaluate    x*4 + 2    namespace=${ns}

--
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