Does maxima know its own version number?



On 6/5/06, Chris Sangwin <sangwinc at for.mat.bham.ac.uk> wrote:

> Is there some easy way for Maxima code to know which version of Maxima
> it is being run on?
>
> eg is there a system variable to which the build version details is
> assigned?

Take a look at the code for $build_info (grep for it in src/*.lisp) --
it uses some global variables to construct the version message.

I wouldn't be opposed to having a function return that same info
as a Maxima expression e.g. build_info (version = "5.9.3",
timestamp = ..., lisp = ...) but so far as I know there is no existing
function to do that.

Robert Dodier