| Arguments: |
The single argument is:
| type [optional] |
If not omitted, exactly one of the following keywords, case is not significant and only the first letter is
needed:
- Compact
- Full
- OneLine
- LibVersion
- Number
- SourceID
| Compact |
The compact format is a simple dotted version, similar to1.0.0.7925
|
| Full |
Produces a long version listing of several lines. The ooSQLite version, the ooRexx version, and the SQLite
version are all shown. The example below has a sample output of this format.
|
| Oneline |
A version string similar toooSQLite Version 1.0.0.7925 (64 bit). This is
the deault if thetypeargument is omitted.
|
| LibVersion |
A version string similar to3.7.13. This is the embedded SQLite database
engine version and is identical to the output from the libVersion
method.
|
| Number |
A version number, similar to3007013. This is the embedded SQLite database
engine version number and is identical to the output from the libVersionNumber method.
|
| SourceID |
A version string similar to2012-06-11 02:05:22
f5b5a13f7394dc143aa136f1d4faba6839eaa6dc. This is the embedded SQLite database engine
source ID and is identical to the output from the sourceID method.
text
|
|
|
| Return value: |
Returns a string formatted as specified above.
|
| Details |
This attribute is provided by ooSQLite, there is no similar feature provided by SQLite.
|
| Example: |
This example prints out the full format version string:
| say 'ooSQLite version (full):'; say |
| say .ooSQLite~version('F') |
|
| /* Output might be: |
|
| ooSQLite version (full): |
|
| ooSQLite: ooSQLite Version 1.0.0.7925 (64 bit) |
| Built Jun 19 2012 12:40:58 |
| Copyright (c) RexxLA 2012-2012. |
| All Rights Reserved. |
|
| Rexx: Open Object Rexx Version 4.2.0 |
|
| SQLite: SQLite Library Version 3.7.13 |
| 2012-06-11 02:05:22 |
|
| */
|
|