home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / ParamRAM guard / vmyenv.cc < prev   
Encoding:
C/C++ Source or Header  |  1993-08-07  |  584 b   |  22 lines  |  [TEXT/KAHL]

  1. /*
  2.  ************************************************************************
  3.  *                    A simple file that verifies
  4.  *                        Service C++ functions 
  5.  *         that support the standard environment for me
  6.  */
  7.  
  8. #include "myenv.h"
  9.  
  10. void main()
  11. {
  12.     Initialize_MAC();
  13.     message("This is a message...");
  14.     set_error_sound("\pLow Fuel");
  15.     message("This is a message with a different sound");
  16.     message("Standard system beep should sound again");
  17.     notify("Notification %d",1);
  18.     notify("Notification %ld",2);
  19.     notify_and_wait("Last_notification");
  20.     _error("Just to tell ya I'm getting out of here...");
  21. }
  22.