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

RPLogMsg

Use this procedure to write a message into Documaker Server’s log file (LOGFILE.DAT).

Syntax

RPLogMsg (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:

RPLogMsg ( )

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

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

Here is another example:

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

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

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

Here is another example:

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

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

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

See also