Initializing help system before first use

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, the string "xpress" 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, with the string "xpress" they give the version of the current FICO Xpress installation. 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.
Related topics

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.