Statement in logic editor, is a basic unit of building logic. Every statement (other than special statements such as expression, condition and loops) in accelQ is comprised of a command.
General structure of a statement looks as follows.
Links in blue, green or orange color indicate Parameters to the command. List of these parameters vary depending on the command. When you create a statement, you provide values for these parameters. These values can be supplied from various sources.
As an example, consider a command that you would use to enter text in an input field. It requires two parameters:
Enter "John" in "First Name" field.
- What value needs to be entered? John
- Which input field needs to be interacted with? First Name
Some of the commands return information. In these cases, you have an option to capture the return information into a place-holder variable. You typically use this variable in building subsequent logic. An example below.
Color convention for parameters
Following convention is used to indicate the nature of different parameters in logic editor
- Green color: Indicates a UI Element parameter which is available in Element Repository and linked with a view in Context
- Orange color: Indicates a UI element parameter which is abstract. This element is listed in the repository, but not linked with any field in the Context's view.
- Blue color: Indicates all non-UI-Element parameters, whose values have been duly filled
- Red color: Indicates a non-UI-Element parameter whose value is not filled.