const Version.MAJOR |
 |
Major version number
XDCscript usage |
meta-domain |
#define Version_MAJOR (UInt16)6
DETAILS
This number should be changed when major changes in the package
occur. Examples include adding new modules, adding substantial new
features to the algorithm(s).
const Version.MINOR |
 |
Minor version number
XDCscript usage |
meta-domain |
const Version.MINOR = 26;
#define Version_MINOR (UInt16)26
DETAILS
This number should be changed when minor changes in the package
occur. Examples include minor changes to the existing APIs,
adding minor features to the algorithms(s) including expanding the
configuration options.
const Version.PATCH |
 |
Patch level
XDCscript usage |
meta-domain |
const Version.PATCH = 00;
#define Version_PATCH (UInt16)00
DETAILS
This number should be changed when bug fixes or performance
improvements are introduced. There should be no changes in the APIs
in this case.
const Version.WIDTH |
 |
Minimum width of print fields
XDCscript usage |
meta-domain |
#define Version_WIDTH (UInt16)2
DETAILS
When denoting version numbers using '.' to separate fields
there is a danger of confusing version "6.1" and version "6.10";
because, in decimal notation 6.1 == 6.10. To avoid
this confusion, it is common practice to adopt a fixed minimum field
width that's when printing version dimensions (other than MAJOR);
e.g., rather than printing "6.1", if WIDTH == 2 then the version would
be displayed as "6.01".
metaonly config Version.common$ // module-wide |
 |
Common module configuration parameters
XDCscript usage |
meta-domain |
DETAILS
All modules have this configuration parameter. Its name
contains the '$' character to ensure it does not conflict with
configuration parameters declared by the module. This allows
new configuration parameters to be added in the future without
any chance of breaking existing modules.
metaonly Version.getString( ) // module-wide |
 |
Returns a string representation of the version
XDCscript usage |
meta-domain |
Version.getString( Any separator ) returns Any
DETAILS
This method return a string of the form:
MAJOR<sep>MINOR<sep>PATCH
where MAJOR, MINOR, and PATCH are
the values sepcified in this interface and <sep> is the (optional)
argument to this method. If separator is not supplied (or is
null), <sep> defaults to '.'.
module-wide built-ins |
 |
// Get this module's unique id
Bool Version_Module_startupDone( );
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool Version_Module_hasMask( );
// Test whether this module has a diagnostics mask
Bits16 Version_Module_getMask( );
// Returns the diagnostics mask for this module
Void Version_Module_setMask( Bits16 mask );
// Set the diagnostics mask for this module