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 - <u>it is not necessary to use n_detach() with this version of netlib </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
It is not necessary to use N_DETACH() with this version of NetLib 
because the process of detaching from a server is now done when 
N_LOGOUT() is called. Though superseded, N_DETACH() has been retained 
in the library to maintain compatibility with earlier versions of 
NetLib. Future versions may not retain N_DETACH(), so please take 
this opportunity to cease using N_DETACH() in your code.


Syntax

N_DETACH( <cServer> )


Parameters

<cServer>
Server name.


Returns

Logical true if successful, false otherwise. Use N_ERROR() to obtain an 
error code if unsuccessful.


Description

Detaches the current station from the specified server. If the station 
is not attached to the server, no action is taken.

Note  Make sure to log out of the server before detaching. Also, 
take care not to detach from the primary server or you will need to 
reboot the station.



See Also: N_LOGOUT()

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