versionnum, versionstr
 versionnum, versionstr | 
   
  Purpose
 
 
 Version of Mosel, a module or package.
 
 
  Synopsis
 
 function versionnum(what:string):integer
 function versionstr(what:string):string
 
  Argument
 
 | 
     
     what 
       | 
   
     
     A module name, a package name or an empty string
       | 
  
  Return value
 
 
 A version number as a string formatted as
 "maj.min.rel" (with
 versionstr) or as an integer (with
 versionnum). An empty string or -1 is returned if the requested library cannot be found.
 
  Further information
 
 
  With an empty string these routines return the version of Mosel currently running. Otherwise the argument is expected to be the name of a module (no suffix or name ending with
 ".dso"), or the name of a package (name ending with
 ".bim"). In both cases the library must be currently used by the model. For a package both imported and loaded at runtime packages are considered.
 
