[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_MHSHWG()
 Get MHS table file of hosts, workgroups, and gateways
------------------------------------------------------------------------------
 Syntax
      FN_MhsHWG() => aHoWoGw
 Arguments
     None
 Returns
     <aHoWoGw> Array
 Description
     Reading the MHS table file gives information on known
     hosts, workgroups and gateways.

     They are used in the same way ( MHS knows what to do):
     user @ host, user @ workgroup, user @ gateway .

     Can be used to check input before sending a message to a local user
     using fn_MhsSndM().

 Examples
      cToHost := "CSERVE"
      if ascan( fn_MhsHWG(), cToHost ) > 0
         fn_MhsSndM({"BMargos@"+cToHost}, "NSommer@dcs-sg", cMessage)
      else
         ? "Host not found"
      endif


 Source: N:\SRC\MHS\MHS.PRG

 Author: Norbert Sommer

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