Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with 

  • Power Scripts 2.5
  • SIL ENgine™ (former katl-commons ) 2.5

Syntax

lfGlobalMessage(message, messageClass);

...

ParameterTypeRequiredDescription
messageStringYesMessage to display
messageClassStringYesNoMessage type

 
The messageClass parameter can be:

  • ERROR: will display an error message
  • WARNING: will display a warning message
  • SUCCESS: will display a success message
  • INFO: will display an info message
  • HINT: will display a hint message.
Note

If the messageClass is not specified an info message will be displayed as default.


Example

Use the following code to display a global error message.

...