SMath Studio Forum
»
SMath Studio
»
Feature Requests
»
Prevent element assignment to line() statements or provide a real clear() function
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,980 Was thanked: 1120 time(s) in 718 post(s)
|
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. Edited by user 27 March 2014 16:18:26(UTC)
| Reason: Not specified |
|
2 users thanked mkraska for this useful post.
|
on 22/06/2013(UTC), on 22/06/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Already requested some day ago directly to Andrey, BTW an official post is a good way to do not forget it. EDIT:Originally Posted by: mkraska Alternatively: provide a clear() function, that sets undefined the value AND THE TYPE of the variable. IMHO that's the right way: codified, simple and strong Best regards, Davide Edited by user 22 June 2013 20:00:04(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
2 users thanked Davide Carpi for this useful post.
|
on 22/06/2013(UTC), on 22/06/2013(UTC)
|
|
SMath Studio Forum
»
SMath Studio
»
Feature Requests
»
Prevent element assignment to line() statements or provide a real clear() function
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.