Difference between revisions of "VERSION()"

From Lianjapedia
Jump to: navigation, search
Line 11: Line 11:
 
The VERSION() function returns a character string containing the Lianja product name and version number.  If the optional <expN> is specified, further version and release information is returned.
 
The VERSION() function returns a character string containing the Lianja product name and version number.  If the optional <expN> is specified, further version and release information is returned.
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
!width=30%|<expN> Value||Return Value
+
!width="30%"|<expN> Value||Return Value
 
|-
 
|-
 
|1||Compilation date
 
|1||Compilation date
Line 18: Line 18:
 
|2||Patch Release number
 
|2||Patch Release number
 
|-
 
|-
|valign=top|3||License error code.  The string 'No License error code' is returned if the product is correctly licensed.
+
|valign="top"|3||License error code.  The string 'No License error code' is returned if the product is correctly licensed.
 
|-
 
|-
 
|}
 
|}

Revision as of 10:34, 4 February 2013

Purpose

Function to return software version information

Syntax

VERSION([<expN>])

See Also

OS()

Description

The VERSION() function returns a character string containing the Lianja product name and version number. If the optional <expN> is specified, further version and release information is returned.

<expN> Value Return Value
1 Compilation date
2 Patch Release number
3 License error code. The string 'No License error code' is returned if the product is correctly licensed.

Example

? version()
Lianja UD Enterprise Edition Version 8.0 for Unix
? version(1)
Compiled on Tue Oct 26 17:03:08 GMT 1999
? version(2)
8.0.8  Started 28-May-1999
? version(3)
No License error code

Products

Lianja, Lianja Server