[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_WKSTENV()
 GetWorkstationEnvironment
------------------------------------------------------------------------------
 Syntax
 
       fn_wkstEnv() -> aShellEnvironment
 
 Arguments

      None

 Returns

      An array containing the following information about the workstation
      shell environment:

               Position   Description              Example
               ----------------------------------------------
                  1       Operating System         "MSDOS"
                  2       OS Version               "3.30"
                  3       Long Hardware Type       "IBM_PC"
                  4       Short Hardware Type      "IBM"

 Description

      This function returns information about the NetWare shell at the
      current workstation, however it does not query the workstation or
      hardware to verify what type it is.  Thus there is no guarantee
      that the information returned is correct.

      The shell constructs the above information from the DOS version
      running on the workstation plus the contents of SHELL.CFG, if
      present.

 Examples

      IF fn_wkstEnv()[ 3 ] == "COMPAQ"
         QOUT( "Insert your Compaq setup diskette in drive A:" )
         WAIT
      ENDIF


 Source: N:\SRC\CONNWS\ENV.PRG

 Author: Steve Larsen

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