Standard Globals

All new projects are automatically assigned a circuit code file from the library, Globals.xje, which contains a standard set of global XJEase constants and functions. The constants include parameters to XJEase functions such as CONNTEST and MESSAGEBOX. There is also a function called CheckChain which provides a convenient wrapper around the standard CHECKCHAIN function.

It is recommended that Globals.xje is retained in all projects.

In addition to this, the user can define their own file, CustomGlobals.xje, which can also be added to new projects.

Upgrading Projects

Projects created in versions of XJTAG prior to v3.11 will have a fixed version of Globals.xje that won't be updated from the library, or may not even have a copy at all. To upgrade these, go to the Circuit Code Files Screen and click the Add... button to add a new code file from the library:

In the XJEase Library Browser, search for globals and select Globals.xje:

If the file already exists in the project, then the following dialog will appear asking you to confirm overwriting the existing file:

Click Continue to continue and overwrite the file. A backup copy of the file will be saved in a directory called Backup in the project directory.