Difference between revisions of "VERSION()"
From Lianjapedia
(→Products) |
Yvonne.milne (Talk | contribs) |
||
(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 | + | 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() | ||
− | + | Lianja Version 1.1.3 | |
? version(1) | ? version(1) | ||
− | Compiled on | + | Compiled on May 7 2014 12:11:59 |
? version(2) | ? version(2) | ||
− | + | 1.0.0 | |
? version(3) | ? version(3) | ||
No License error code | No License error code | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
− | + | 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
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