You are here: Function Reference > Alphabetical Listing > R > RPWarningMsg

RPWarningMsg

Use this procedure to write a warning message into the Documaker Server error file (ERRFILE.DAT). In addition, it increments the Documaker Server warning count as necessary.

Syntax

RPWarningMsg (Message)

Parameter

Description

Message

(Optional) Enter the message you want the system to display. The message can consist of static text, DAL functions, and procedures. The default is a blank string.

Example

Here are some examples:

RPWarningMsg ( )

This example would cause the following to be written into your ERRFILE.DAT file:

Warning : In DAL Script <.\deflib\iso_create.dal> at line <23>: (Text omitted)

Here is another example:

RPWarningMsg ("Failed to Open the INFO table in iso_create.")

This example would cause the following to be written into your ERRFILE.DAT file:

Warning : In DAL Script <.\deflib\iso_create.dal> at line <18>: Failed to Open the INFO table in iso_create.

Here is another example:

RPWarningMsg (Time() & " " & Date() & " variable = " & table_name)

This example would cause the following to be written into your ERRFILE.DAT file:

Warning : In DAL Script <.\deflib\iso_create.dal> at line <26>: 11:51:02 08/06/2003 variable = INFO

See also