|
From: | Ceral Paquet |
Subject: | [Octave-bug-tracker] [bug #53359] evalin overwrites ans in the caller workspace |
Date: | Tue, 20 Mar 2018 06:44:46 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #3, bug #53359 (project octave): No disagreement that it's bad form to use eval and "ans" especially together... but you know the savages do it ;) One place it has a consequence is the clearvars function (#40095). It uses evalin to remove variables in the caller workspace but ends up creating (or overwriting) "ans" as a side-effect. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53359> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |