OSVER()
Returns the DOS version number
------------------------------------------------------------------------------
Syntax
OSVER() --> cDosVersion
Returns
OSVER() returns a character string that contains the version number of
the operating system in use.
Description
OSVER() returns the version number of the operating system in use. The
format picture clause is always "'9.99". Use OSVER() to determine the
DOS version your application uses.
Example
Certain operations require particular DOS versions:
IF OSVER() < "3.30"
? "COMMIT can not be used!"
ENDIF
Like this:
Like Loading...
Related