compile insert osError_equates /* ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved ** This insert is proprietary and is not to be used by or disclosed to others, nor is it to be copied without written permission from Revelation Technologies, Inc. Author : Captain C Date : January 2013 Purpose : OS Error constants Comments ======== Amended Date Reason ======= ==== ====== */ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// #ifndef _OSERROR_EQUATES_ #define _OSERROR_EQUATES_ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// equ OS_PREFIX$ to "OS" //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// * // Status() codes: equ OSERR_STAT_NONE$ to 0 ; * // No error equ OSERR_STAT_INVALID_FILE_NAME$ to 1 ; * // Bad OS file name equ OSERR_STAT_ACCESS_DENIED$ to 2 ; * // Access denied by the OS equ OSERR_STAT_DISK_FULL$ to 3 ; * // Disk or directory is full equ OSERR_STAT_FILE_DNE$ to 4 ; * // File does not exist * what happened to 5? equ OSERR_STAT_FILE_READONLY$ to 6 ; * // File is readonly equ OSERR_STAT_UNDEFINED$ to 7 ; * // Undedfined OS Error //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// * // Error text codes -these are the "OS" errors in REVERROR.DAT * // * // OS101: "%1%" is an invalid OS file name. * // OS102: Access denied by the operating system to the "%1%" file. * // OS103: Error in the OS file "%1%". Disk volume full. * // OS104: The OS file "%1%" does not exist. * // OS106: The OS file "%1%" is read-only. * // OS107: Undefined error during a OS file operation. File: "%1%" - Status(): "%2%" equ OSERR_BASE$ to 100 equ OSERR_INVALID_FILE_NAME$ to 101 ; * "%1%" is an invalid OS file name equ OSERR_ACCESS_DENIED$ to 102 ; * Access denied by the operating system to the "%1%" file. equ OSERR_DISK_FULL$ to 103 ; * Error in the OS file "%1%". Disk volume full. equ OSERR_FILE_DNE$ to 104 ; * The OS file "%1%" does not exist. * // no 5? equ OSERR_FILE_READONLY$ to 106 ; * The OS file "%1%" is read-only. equ OSERR_FILE_UNDEFINED$ to 107 ; * Undefined error during a read/write/delete operation. OS File : %1% Status(): %2% //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// #endif //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////