Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_version( [ <astatistics> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_VERSION( [ <aStatistics> ] )


Parameters

<aStatistics>
Array to receive server statistics. Must have at least 16 elements.


Returns

N_VERSION() with no parameters returns the current NetWare version. 
There is no decimal point; to obtain the major version, divide the 
version by 100.

If an array parameter is specified it will be filled with server 
information. The array must be at least sixteen elements long. The 
resulting values are:

Element       Value
 1            NetWare version
 2            NetWare subversion
 3            Maximum connections allowed
 4            Connections in use
 5            Maximum connected volumes
 6            OS revision number
 7            SFT Level
 8            TTS Level
 9            Maximum connections used
10            Accounting version
11            VAP version
12            Queuing version
13            Print server version
14            Virtual console version
15            Security restrictions version
16            Internet Bridge version



Examples

? 'Current version of NetWare:', N_VERSION() / 100

DECLARE stats[16]
N_VERSION(stats)
? 'Max connected volumes', stats[5]




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