ui.Interface.getFrontEndVersion

Returns the version of the front-end currently in use.

Syntax

ui.Interface.getFrontEndVersion()
  RETURNS STRING

Usage

The ui.Interface.getFrontEndVersion() class method returns the version number of the front end used by the program.

Note: This method is primarily used for debugging purposes.
Important: When calling this method, the user interface module of the runtime system will initialize. As result, in text mode, the terminal will be initialized and get some escape sequences. This may corrupt standard output when executing batch programs. Consider testing the FGLGUI environment variable if you want to check that the batch program executes in text mode, instead of using the getFrontEndName() method.