version 2003
PA_Alert (message)
Parameter | Type | Description | |
message | char* | Message to display in the alert dialog box |
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).
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.");
Sample alert under Windows (using C strings):
PA_Alert("Hello world.");
See Also
ALERT, ALERT, PA_Confirm, PA_Request.
Error Handling
PA_GetLastError always returns eER_NoErr