Displays a text string in a message window.

MESSAGE(String [, Value1, …])

Parameters

String

Type: Code or text constant

This string contains the text you want the system to display in the message window. Use a backslash (\) to start a new line. Use percent signs (%) to insert variable values into the string. Place the percent where you want the system to substitute the variable value. The string can be a text constant that is enabled for multilanguage functionality. For more information, see Working with Multilanguage Functionality.

Value1, …

Type: Any

Any type of C/AL variable you want to insert into String. You can insert up to 10 values.

Expand imageRemarks

Expand imageProgramming Guidelines

Expand imageExample

Expand imageSee Also