home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 460.lha / 3DPlot_v2.0 / sources / iffmsgs.c < prev    next >
C/C++ Source or Header  |  1991-01-04  |  1KB  |  35 lines

  1. /* iffmsgs.c --- The IFF error msgs indexed by iffp
  2.  * Use:  extern char *IFFPMessages[];  in application to access
  3.  */
  4.  
  5. #ifndef IFF_H
  6. #include "iff/iff.h"
  7. #endif
  8.  
  9. /* Message strings for IFFP codes. */
  10. char MsgOkay[]        = {"(IFF_OKAY) No FORM of correct type in file." };
  11. char MsgEndMark[]     = {"(END_MARK) How did you get this message?" };
  12. char MsgDone[]        = {"(IFF_DONE) All done."};
  13. char MsgDos[]         = {"(DOS_ERROR) The DOS returned an error." };
  14. char MsgNot[]         = {"(NOT_IFF) Not an IFF file." };
  15. char MsgNoFile[]      = {"(NO_FILE) No such file found." };
  16. char MsgClientError[] = {"(CLIENT_ERROR) Probably insufficient RAM."};
  17. char MsgForm[]        = {"(BAD_FORM) File contains a malformed FORM." };
  18. char MsgShort[]       = {"(SHORT_CHUNK) File contains a short Chunk." };
  19. char MsgBad[]         = {"(BAD_IFF) A mangled IFF file." };
  20.  
  21. /* THESE MUST APPEAR IN RIGHT ORDER!! */
  22. char *IFFPMessages[-LAST_ERROR+1] = {
  23.     /*IFF_OKAY*/  MsgOkay,
  24.     /*END_MARK*/  MsgEndMark,
  25.     /*IFF_DONE*/  MsgDone,
  26.     /*DOS_ERROR*/ MsgDos,
  27.     /*NOT_IFF*/   MsgNot,
  28.     /*NO_FILE*/   MsgNoFile,
  29.     /*CLIENT_ERROR*/ MsgClientError,
  30.     /*BAD_FORM*/  MsgForm,
  31.     /*SHORT_CHUNK*/  MsgShort,
  32.     /*BAD_IFF*/   MsgBad
  33.     };
  34.  
  35.