[Maxima] Function without return value
macrakis at gmail.com
Mon Apr 12 09:28:17 CDT 2010
Maxima doesn't have subroutines which return no value.
It also doesn't have a generic NULL / NA / Bottom value (UND is used to
represent an undefined limit, but not used elsewhere).
And it doesn't have the concept of wrapping a value in invisibility (so that
it doesn't print out).
If you simply don't want a value printed when you call a function from the
top level, you can return the empty string. But then there is no way of
distinguishing between the empty-string-as-non-value and the true empty
On Mon, Apr 12, 2010 at 09:35, Wilhelm Haager
<wilhelm.haager at htlstp.ac.at>wrote:
> is it possible to define a function without any return value,
> which just produces side effects?.
> Of course, any return value can be neglected;
> but is it possible to suppress a return value on principal
> (on Maxima level)?
> Wilhelm Haager
> Maxima mailing list
> Maxima at math.utexas.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima