Global Definition
All,
In Mathcad Prime a variable can be globally defined only once in a worksheet - you cannot redefine a variable, either with a normal definition or a global definition operator, if it has already been defined globally - the math region containing the redefinition will error. The reasoning behind this is that a global definition should mean that variable is defined globally (it has the assigned value everywhere in the document); syntactically it makes sense to enforce this restriction.
In MC15 a variable can be redefined, both with a normal definition and globally:


Is this something that you do in MC15? If so, in what scenario would you do this?
In Prime, one concern we have with restricting global definition to once per worksheet per variable is on conversion of MC15 or earlier documents that include such redefinitions. There are several ways we could deal with these.
(1) Use the Mathcad Prime 2.0 behavior of adding a spec table of definitions at the top of the worksheet.
(2) Replace redefined global definitions in the worksheet with normal definitions.
(3) Convert as is and error on the global definitions:


What are your thoughts on this?
