...
This action has a name, foo
, and two unnamed parameters, "hello"
and 5
. The action also has two named parameters, x
with the value "world"
and y
with the value 11
. The parameters, named and unnamed, can be any valid KRL expression and will be evaluated prior to the action being taken. More formally, parameters are evaluated in applicative order.
The following provide more information about using and creating actions:
- Basic actions are built into KRL and available for any rule to use.
- Compound actions allow more than one action to be taken by a rule.
- User-defined actions are an abstraction mechanism for creating custom actions.