emit <javascript>
Directly after the declaration block, KRL programs can contain a single, optional emit statement.
The value following the emit statement is put into the Javascript generated from the KRL program immediately after the variable declarations and before any actions. This allows Javascript to be inserted into the program to modify the values of any variables.
The following ruleset shows emit() being used
The following demonstrates the preceding rule:
Labels: