The version function returns the version number of the interpreter running the program. The version number returned by this function is constructed of four bytes in little-endian format as follows:
The version number returned by this function is not related to the version of the Irie Pascal compiler or the version of the operating system.
Currently you will probably not need to use this function, however this function is provided because each new version of the interpreter is likely to add support for new features. Therefore programs in the future may need to know which version of the interpreter they are running on to determine whether a particular feature is available (see the supported function for a better way to do this).
None.
version currently returns the following bytes 00 05 02 00
So, the major version number is five, the minor version number is two, and the least significant version number is zero.
Operating Systems: All
Standard Pascal: No