home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / PICSee Dust 1.01 / Tertiary Source / SimpleError.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-05  |  399 b   |  18 lines  |  [TEXT/CWIE]

  1. #include "SimpleError.h"
  2.  
  3.  
  4. #define kEmptyStr "\p "
  5.  
  6. short SimpleError(short alertID, short strID, short strIndex) {
  7.     Str255 alertStr;
  8.     
  9.     GetIndString(alertStr, strID, strIndex);
  10.     return(SimpleMsg(alertID, alertStr));
  11. } // END SimpleError
  12.  
  13.  
  14. short SimpleMsg(short alertID, Str255 msg) {
  15.     InitCursor();
  16.     ParamText(msg, kEmptyStr, kEmptyStr, kEmptyStr);
  17.     return(Alert(alertID, NULL));
  18. } // END SimpleMsg