Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v6.11 - aofgetversion() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 aofGetVersion()
 Returns the Client Advantage Optimized filter version information
------------------------------------------------------------------------------

Syntax

     aofGetVersion( [<nType>] ) -> value

     <nType>  An optional numeric value from 0 (zero) to 3 indicating
     the type of version information desired.

     0 - Client Advantage Optimized Filter version number
     1 - Date stamp of Client AOF library release
     2 - Time stamp of Client AOF library release
     3 - Full Client AOF information.

     If <nType> is not specified, <nType> of zero is assumed.

Returns

     Returns one of four values, depending on the value of <nType>:

     <nType>    Return Value                    Value Examples

        0       Version number string           "4.3"

        1       Release date stamp
                (date data type)                03/24/97

        2       Release time stamp string       "4:30a"

        3       Full information string
                including: product name,
                dialect, version number,
                date stamp, and time stamp      "Advantage Optimized
                                                Filters for CA-Clipper 5.3,
                                                CDX/IDX, 4.3, 03/24/97,
                                                4:30a"

Description

     This function returns the Client Advantage Optimized Filter version
     number and sub-version information.

     aofGetVersion( 1 ) returns a date value while all other parameters
     return a character string. If you intend to use the return value of
     aofGetVersion( 1 ) as a string, convert it using CA-Clipper's DTOC()
     or DTOS() functions.

Example

     // Print out Client Advantage Optimized Filter version number
     ? "Client AOF version: ", aofGetVersion( 0 )


See Also: AX_Version()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson