[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SWPERRMIN
------------------------------------------------------------------------------

  Function : Get the swap system minor error code

  Syntax   : niValue = SWPERRMIN()

  Return   : Minor error code

  If an error occurs during the swap process, the SWPRUNCMD() will return
  false. This function returns the minor error code, indicating the type
  of error that occurred.

  Example  :
  success = SWPRUNCMD("Compile myprog -m",0,"","")
  IF .NOT. success
      ? "Swap failed..."
      ? "Major Error Number ",SWPERRMAJ()
      ? "Minor Error Number ",SWPERRMIN()
  ELSE
      err_lev = SWPERRLEV()
      IF err_lev = 0
          SWPRUNCMD("BLINKER @LINK.LNK",0,"","")
     ELSE
        ? "Compile failed - errorlevel ", err_lev
      ENDIF
  ENDIF

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