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_servnum( [ <cserver> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_SERVNUM( [ <cServer> ] )


Parameters

<cServer>
File server name.


Returns

N_SERVNUM() returns the current server's connection number in decimal 
(1-8).

N_SERVNUM(<cServer>) returns the connection number for the specified 
server. If an invalid server is specified in <cServer>, or if the 
station is not attached to the server, then zero is returned.


Description

The servers' connection numbers (1-8) are generally but not always the 
same as the order in which the station logged into them.


Examples

? N_SERVNUM('SERVER-1')
1

? N_SERVNUM('SERVER-2')
2



See Also: N_ASERVER() N_SERVER()

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