Operators > Definition and Evaluation Operators > Global Definition Operator
Global Definition Operator
Operator
Description
Keyboard Shortcut
Evaluates b and assigns the result to x. A global definition is valid globally throughout the worksheet.
Ctrl+Shift+~
Operands
x is any valid variable, a function name, or a matrix of names. x cannot be a number or an expression.
b is any expression that can be evaluated. If b contains other variables, then those variables must also be defined globally above the definition of x.
Watch this video to learn more about the global definition operator:
Additional Information
You cannot override a global definition using a local definition.
You cannot have more than one global definition of the same variable in a worksheet or in a parent worksheet that includes other worksheets.
You cannot use the global definition operator inside a solve block.
Was this helpful?