Difference between revisions of "VERSION()"

From Lianjapedia
Jump to: navigation, search
(Products)
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return software version information
 
Function to return software version information
 
  
 
==Syntax==
 
==Syntax==
 
VERSION([<expN>])
 
VERSION([<expN>])
 
  
 
==See Also==
 
==See Also==
 
[[OS()]]
 
[[OS()]]
 
  
 
==Description==
 
==Description==
The VERSION() function returns a character string containing the Recital 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"
+
{| class="wikitable" width="100%"
!<expN> Value||Return Value
+
!width="30%"|<expN> Value||Return Value
 
|-
 
|-
 
|1||Compilation date
 
|1||Compilation date
Line 22: Line 18:
 
|2||Patch Release number
 
|2||Patch Release number
 
|-
 
|-
|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.
 
|-
 
|-
 
|}
 
|}
 
 
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
? version()
 
? version()
Recital UD Enterprise Edition Version 8.0 for Unix
+
Lianja Version 1.1.3
 
? version(1)
 
? version(1)
Compiled on Tue Oct 26 17:03:08 GMT 1999
+
Compiled on May  7 2014 12:11:59
 
? version(2)
 
? version(2)
8.0.8  Started 28-May-1999
+
1.0.0
 
? version(3)
 
? version(3)
 
No License error code
 
No License error code
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==
Recital, Recital Server
+
Lianja, Lianja Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 13:01, 19 May 2014

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 Version 1.1.3
? version(1)
Compiled on May  7 2014 12:11:59
? version(2)
1.0.0
? version(3)
No License error code

Products

Lianja, Lianja Server