home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 16.3 Setting Neterr()
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- #include "FILEIO.CH"
-
- local handle
- use CUSTOMER new shared
- if (handle := fopen("ERROG.LOG", FO_READWRITE)) == -1
- Neterr(.T.) // Turn on network error flag
- endif
- if Neterr() // Either from CUSTOMER use or Fopen() failure
- ? "FILES ARE NOT AVAILABLE ON THE NETWORK..."
- endif
-
- // end of file CHP1603.PRG
-