Water 5-Meta Programming-Execute
method execute_expression
Contract
Return typewob
Parameter keyDefault valueType
env_or_contextnull
a_ekindcodepath
returns"last"string
Water Contract
<method execute_expression
  env_or_context=null
  a_ekind       =ekind.code 
  returns       ="last"/>

See also: execute_string

Takes an expression as _subject executes it and returns the result.
<set foo98 = 3/>
<expression>foo98</>.<execute_expression _environment/>
3
Executes each expression in a_vec in the same environment and returns the last one.
<set env = <thing/> 
        a_vec = <vector <expression><set x = 10/></>
                        <expression><set x = x.<plus 1/> /></>
                        <expression>x</>
                />
   />
a_vec.<for_each> value.<execute_expression env/> </>
11
The env_or_context parameter is documented in execute_string