Function returning the version number



> But some optional parameters of the package "draw" have changed
> recently (I think from the
> Maxima version 5.22 to 5.23), eg. the options "pic_width" and
> "pic_height" have changed to "dimensions".
> When a package makes use of those options (as the control engineering
> package COMA does), 
> the version dependent treatment seems useful.

When these changes were made, the version number of draw changed to
'2'. 

(%i1) load(draw)$
(%i2) get(draw, version);
(%o2) 2

With older Maxima versions, 'get' gives 1. Perhaps you can make use of
this fact.

--
Mario