Error Messages/40018

Error message examples

You can only assign to a local value. X is not a local value.


This error is caused when a global variable is assigned inside another variable definition. You can only assign values to local values, which declared by using MetaVar or Var inside the definition.

Changing the value of the global variable inside another variable is, generally, not a good practice.


One way to get around this issue is to use a Button which can have side effects and can assign to global variable.

You can also assign to a global variable, V, from the definition of X when V is defined as ComputedBy(X).

See Also


You are not allowed to post comments.