[scilab-Users] getversion() & getversion('scilab','string_info')

Allan CORNET allan.cornet at scilab.org
Wed Nov 4 15:03:53 CET 2009


Hi,

 

Maybe [a,b] = getversion() is enough to know date ?

 

-->[a,b] = getversion()

 b  =

 

!VC++  tk  modelicac  atlas  release  Nov  2 2009  10:59:46  !

 a  =

 

 scilab-master-1257152676   

 

Best Regards

 

Allan CORNET

 

De : Samuel Gougeon [mailto:Samuel.Gougeon at univ-lemans.fr] 
Envoyé : mercredi 4 novembre 2009 14:53
À : users at lists.scilab.org
Objet : Re: [scilab-Users] getversion() & getversion('scilab','string_info')

 

----- Message d'origine ----- 
De : Sylvestre Ledru 
Date : 04/11/2009 00:25: 

Le mardi 03 novembre 2009 à 19:35 +0100, Samuel Gougeon a écrit :
  

Hello,
 
What's the usefulness of  getversion('scilab', 'string_info')
compared to simply getversion() ?
 
Moreover, it would be nice to add to getversion()  an option
to get the release date in human readable normalized format.
    

Can I ask why you would need this feature ?
  

Because i am using several master-### releases of Scilab, due to
the fact that Scilab rapidly evolves  in between 2 official releases,
with new important functional or ergonomic features such that 
completion improvements or fixes, LaTeX in graphic strings, 
sub-chaptering of help pages, etc.
Then, when i consult scilab's bugzilla to see fiexes or progresses 
or to post reports or comments, i need to know the date  of the 
master that i am using.
Bugzilla doesn't timestamp reports and comments with # of seconds
since 1/1/1970, and every scilab console is titled "Console" whatever 
is the related scilab's version.
At least 2 masters used at office (one stable, one more recent),
2 others at home, etc.
That's why i have created a small versionDate() macro loaded from 
my scilab.ini. This could be of interest for other users.
Except whether forthcoming masters are straightforwardly numbered 
with human readable compilation date, or consoles' title includes this
date.

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20091104/47d1dd44/attachment.htm>


More information about the users mailing list