I propose to somehow prevent variables of type line() - as they appear using the Clear() function - from being assigned elementwise.
Obviously, elementwise access is not by design anyways, because display of individual elements (statements) is not possible. The same should then apply for assignment.
Otherwise wrong or unexpected results may be obtained.
Alternatively: provide a clear() function, that sets undefined the value AND THE TYPE of the variable.
Clear.sm (40 KiB) downloaded 50 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx