[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_SHVER()
 GetNetwareShellVersion
------------------------------------------------------------------------------
 Syntax
 
       fn_shVer() -> cShellVersion
 
 Arguments

      None

 Returns

      A string containing the current shell's version info.  If the
      shell is not loaded, "" is returned.

 Description

      The Shell version returned is a string consisting of four parts:
      the Major version, the Minor version, any Revision Letter and
      a notation if the Shell Type is for conventional, Expanded or
      Extended memory.

      The construct of the returned string is as follows:

      cShellVersion := <MajorVersion>.<MinorVersion><Revision><Type>

      To distinquish between Revision and Shell Type designators (both
      are alphanumeric), the Revision is always returned in uppercase,
      whereas the Type is returned in lowercase if Expanded (e) or
      Extended (x).  No Shell Type is returned for conventional memory.

 Examples

      /* Shell is version 3.01, rev. A and loaded in conventional memory

      ? fn_shVer()                   // 3.01A

      /* Shell is version 3.02, rev. B and loaded in expanded memory

      ? fn_shVer()                   // 3.02Be

      /* Shell is version 3.22, and loaded in extended memory

      ? fn_shVer()                   // 3.22x


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

 Author: Steve Larsen

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson