| 
   
     | 
  
   
     
   
   | 
  
   
     
   
   | 
 
PA_Alert (message; WindowRef)
| Parameter | Type | Description | |
| message | PA_Unichar* | → | Message to display in the alert dialog box | 
| WindowRef | Long | → | Link to windows that generates alert | 
Description
   The routine
   
    
     PA_Alert
    
   
   displays an alert dialog box composed of a note icon, a message, and an
   
    OK
   
   button.
  
   Pass the message to be displayed in
   
    message
   
   (Pascal or C strings up to 255 characters).
  
The new parameter is used on Macintosh to link the alert notification to the window that generates the alert. If you don't care or if the plugin only runs on windows, you can pass 0.
   This is just like the
   
    
     ALERT
    
   
   command, but you cannot customize the title of the
   
    OK
   
   button. See the 4th Dimension Language reference for more information on this dialog box.
  
Example
Sample alert under MacOS (using Pascal strings):
   PA_Alert("\pHello world.";0);
  Sample alert under Windows (using C strings):
   PA_Alert("Hello world.";0);
  
   See Also
ALERT , ALERT , PA_Confirm , PA_Request .
Error Handling
   
  
  always returns
  
   eER_NoErr