/* e4error.h (c)Copyright Sequiter Software Inc., 1988-1996. All rights reserved. */ /* (c)Copyright Sequiter Software Inc.,1990-1991. Alle Rechte vorbehalten. */ /* German translation: Mgr. Gertruda TKACIKOVA, Jan. 1992. */ /* error messages */ #ifndef S4LANGUAGE #define E4_MESSAG_EXI "EXITING APPLICATION" #define E4_ERROR "Error" #ifdef S4VBASIC #define E4_ERROR_COD "CODEBASIC ERROR" #else #define E4_ERROR_COD "CODEBASE ERROR" #endif #define E4_MEMORY_ERR "Memory Error" #define E4_ERROR_NUM "\r\n\r\nError Number" #else #ifdef S4GERMAN #define E4_MESSAG_EXI "Abbruch der Anwendung" #define E4_ERROR "Fehler" #ifdef S4VBASIC #define E4_ERROR_COD "CODEBASIC FEHLER" #else #define E4_ERROR_COD "CODEBASE FEHLER" #endif #define E4_MEMORY_ERR "Speicherverwaltungs-Fehler" #define E4_ERROR_NUM "\r\n\r\nFehler Nummer" #else #define E4_MESSAG_EXI "EXITING APPLICATION" #define E4_ERROR "Error" #ifdef S4VBASIC #define E4_ERROR_COD "CODEBASIC ERROR" #else #define E4_ERROR_COD "CODEBASE ERROR" #endif #define E4_MEMORY_ERR "Memory Error" #define E4_ERROR_NUM "\r\n\r\nError Number" #endif #endif /* function names - language independent */ typedef struct ERROR4DATASt { int errorNum ; char S4PTR *errorData ; } ERROR4DATA ; #ifdef E4FILE_LINE #define error4( a, b, c ) ( code4fileNameSet( __FILE__ ), code4lineNoSet( __LINE__ ), error4default( a, b, c ) ) #define error4describe( a, b, c, d, e, f ) ( code4fileNameSet( __FILE__ ), code4lineNoSet( __LINE__ ), error4describeDefault( a, b, c, d, e, f ) ) #ifdef S4CB51 #define e4( a, b, c ) ( code4fileNameSet( __FILE__ ), code4lineNoSet( __LINE__ ), error4describeExecute( a, b, 0L, c, 0, 0 ) ) #endif #ifdef E4STACK #define error4stack( a, b, c ) ( code4fileNameSet( __FILE__ ), code4lineNoSet( __LINE__ ), error4stackDefault( a, b, c ) ) #else #define error4stack( a, b, c ) ( b ) #endif #else #define error4( a, b, c ) error4default( a, b, c ) #define error4describe( a, b, c, d, e, f ) error4describeDefault( a, b, c, d, e, f ) #ifdef S4CB51 #define e4( a, b, c ) error4describeExecute( a, b, 0L, c, 0, 0 ) #endif #ifdef E4STACK #define error4stack( a, b, c ) error4stackDefault( a, b, c ) #else #define error4stack( a, b, c ) ( b ) #endif #endif /* E4FILE_LINE */