Message to the user
Syntax
info($message)
info($message, $detail)
Description
Creates a message on the user interface without interrupting the script.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
message | String/Internationalized text | The main message of the message. | yes | |
detail | String/Internationalized text | Details about message . |
no | No details. |
Examples
Message without details (string)
info('Hello');
Output:
Message with details (string)
info('Hello', 'How are you?')
Output:
Message with details (internationalized text)
{
message = #("Hallo"@de, "Hello"@en);
details = #("Wie geht es dir?"@de, "How are you?"@en);
info($message, $details);
}
Output:
German:
English: