version(): var

Returns Zorro's version number with two digits behind the decimal.

require(var Version): int

Returns nonzero when Zorro's version number is equal or higher than Version. Otherwise prints an error message, terminates the session, and returns 0. Pass a negative Version number when Zorro S is also required.

Examples:

if(version() < 2.14)
  return quit("Zorro 2.14 or above needed for this script!");

if(!require(-2.14)) return; // need Zorro S 2.14 or above

See also:

printf, run, wait, quit, SPONSORED

► latest version online