Written by: Vincent Howell
File: Reference.txt
Date: 8/17/05
~~~~~~~~~~~~~~~~~~~~~~~~~~

Version.e consists of 4 global scope
constants and the version() routine.

They are:

* EV_DOMAIN: Represents either the public domain,
             or complete edition releases of
             Euphoria.

* EV_PLATFORM: Represents the platform in which the
               interpreter programs EVDL scanned are
               designated for.

* EV_MAJOR: Represents the major version releases.

* EV_MINOR: Represents the minor version releases.

Note: Every 5 minor releases can be considered
      a moderate version release; Example: v2.5.
-------------------------------------------------------------

CheckVer.e consists of 8 global scope constants,
you would normally use the following constants
in conjunction with version.e's constants and
version() routine.

They are:

* V_PUBLIC: Represents an Euphoria public
            domain release.

* V_REGISTERED: Represents an Euphoria
                purchased (complete)
                edition.

* V_DOS32: Represents Euphoria for the
           DOS platform.

* V_WIN32: Represents Euphoria for the
           Windows platform.

* V_LINUX: Represents Euphoria for the
           Linux platform.

* V_FREEBSD: Represents Euphoria for the
             FreeBSD platform.

* V_MAJOR: Represents the major release of
           Euphoria.

* V_MINOR: Represents the minor release of
           Euphoria.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Name:                            version

Platform:    Win32, Dos32, Linux, FreeBSD

Syntax:	     include version.e (optional namespace qualifier)
             s1 = version(s2)

Description: Returns a 4-element sequence of the matched values found
             in the 8 constants in CheckVer.e. s2 is the string file
             path of the interpreter file. If you wish to scan the
             interpreter you are "currently" using, replace a string
             filepath in s2 with AUTO.

Comments:    For more precise version control you may decide to use the
             defined constants AFTER assigning version() to a variable.
             Most of the time you must use version() and/or the proper
             constants in a simple subprogram in order avoid errors,
             see "Examples" for more info.

Note:        You can get multiple version info from interpreter files
             by calling version([filename]) multiple times.
------------------------------------------------------------------------
Examples:    See the Example1.ex & LoadEx.ex
------------------------------------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~