XJTAG_VERSION

XJTAG_VERSION is a built-in, predefined constant integer containing the version of XJTAG that the XJEase code is currently running on. The value is a 64 bit integer containing the four parts of the version number as 16 bit numbers packed together, the least significant part of the version being the least significant 16 bits of the integer. This constant is a global constant.

Example

This example prints out the current version of XJTAG in the standard dotted format (e.g. 4.2.5.0)

PrintVersion()()
  INT major := XJTAG_VERSION[63..48];
  INT minor := XJTAG_VERSION[47..32];
  INT revision := XJTAG_VERSION[31..16];
  INT build := XJTAG_VERSION[15..0];

  PRINT("XJTAG Version: ", major, ".", minor, ".", revision, ".", build, "\n");
END;