Display An Alert
This category of Instruction displays a simple message in a window to the user.
This is accomplished by the following FieldLogs specific Instruction:
Flkw:ShowAlert
Note
Flkw:ShowAlert
is not used to display any information to the user.
It is used only as a debugging tool to track the execution of complex Scripts.
Flkw:ShowAlert
is a simple instruction that displays a message in a window.
Format : Flkw:ShowAlert('Title','Message');
Parameters | Description |
---|---|
| Title of the alert window |
| Message to display |
To construct an enhanced Script Instruction using Flkw:ShowAlert
:
Select
from the dropdown list. In the field, enter theFlkw:ShowAlert
Instruction as shown.Note that a user input value can be included in the message. Here, the value of the variable A1 is part of the message.
An
Flkw:ShowAlert
Instruction is added to the Script.At runtime, if the user enters 4400 for the Step with ID 2, the following message window is displayed.