[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_ISNET()
 Determine if user is on functioning NetWare node
------------------------------------------------------------------------------
 Syntax
 
      fn_isNet() -> nStatus
 
 Arguments

     None

 Returns

     <nStatus>, a numeric, which will be one of:

           0     User has shell loaded and is logged in
           1     User hasn't loaded IPX
           2     User hasn't loaded a shell
           3     User is not attached to a server
           4     User has no connection id (?)
           5     User is not logged in


 Description

     fn_isNet() provides a simple way to determine if the user
     running your program is logged in.  if fn_isNet() == 0,
     she's in.

 Examples

     if !fn_isNet()
        qout( "This program requires Novell NetWare." )
     endif

     if fn_isNet()
        qout( "This is not a network version!" )
        ft_reboot()   // Take that!
     endif


 Source: N:\SRC\MISC\ISNET.PRG

 Author: Michael Landesman

See Also: fn_netver(), fn_is3x()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson