Forum Discussion

scottdk's avatar
scottdk
Frequent Visitor
2 years ago
Solved

Global and Local environment effect on Expression.Evaluate.

I am was completely confused about the inconsistent results I was getting from Expression.Evaluate while taking a deeper dive into learning about global and local environments in preparation for movi...
  • m_dekorte's avatar
    2 years ago

    Hi scottdk,

     

    As the example by AlienSx clearly illustrates, a record merge (or combination operation), will overwrite like named fields from the left operant with that of the right operant. See the docs here: Values, Record  

     

    [a = 1] & [a = 2] & [a = 3] & [a = 2]

    //result: a = 2