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, stops the script, and returns 0.

Remarks:

Example:

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

if(!require(1.44)) return;

See also:

printf, run, wait, quit

► latest version online