version
Syntax
the version
the long version
put the version into field "StacksmithVersion"
put "Stacksmith" && the long version into versionAndName
Explanation
The version
function returns the current version number of Stacksmith, as a floating point number.
So version 1.2.1
becomes 1.0201
.
If you specify the english version
, it will return the version as a string, like 1.2.1
.
If you instead qualify it as the long version
, it will return the version number as a number of the form MMmb8000,
where MM is the major version, m the minor version, and b the bugfix version. E.g. Stacksmith 10.7.5 would be 10758000.