You are here: Function Reference > Alphabetical Listing > A > AFELog

AFELog

Use this procedure/function to write a custom message to the AFELOG file.

Syntax

AFELog (String)

Parameter

Description

String

Enter a valid string.

This procedure writes a string of characters to the AFELOG file. The message can be up to 100 characters in length.

Example

Here is an example:

Procedure

Result

Explanation

AFELog ("Point1");

Point1

The character string "Point1" is written to the AFELOG file.

afelogmsg = INPUT("Input a custom message to be written to the AFELOG file",
  "AFELOG Test Case", 100);
RETURN AFELOG(afelogmsg);

This DAL script displays a window entitled AFELOG Test Case with a message which states:

Input a custom message to be written to the AFELOG file

The input field has a length of up to 100 characters. When the user clicks OK after entering a message, the system writes the message to the AFELOG file. If the user clicks Cancel, blanks are written to the file.

See also