Call
Pattern calls, argument handling, and related helpers.
Pass a named value to a parameterized call.
Name of the parameter. An empty string is treated as an unnamed parameter.
Value to assign to the parameter.
Run a pattern, returning its result (if any).
Tell files support calling patterns directly, so this is only needed when using the blockly editor.
The name of the pattern to run.
Arguments to pass to the pattern.
Any unnamed arguments must proceed all named arguments. Unnamed arguments are assigned to parameters in the order the parameters were declared. It's considered an error to assign the same parameter multiple times.
Provide a stored value for an assignment.
Address to read from.
Provide a boolean value for an assignment.
Boolean value for the assignment.
Provide a number for an assignment.
Number for the assignment.
Provide a list of numbers for an assignment.
Numbers for the assignment.
Provide a record for an assignment.
Record for the assignment.
Provide a list of records for an assignment.
Record values for the assignment.
Provide some text for an assignment.
Text for the assignment.
Provide a list of text values for an assignment.
Text values for the assignment.
Determine whether a pattern is running.
The [rtti.num_eval] version returns the distance to the pattern.
The name of the pattern to check.
Determine whether a scene (aka domain) is active.
The name of the scene to check.
Definitions:
Commands:
Commands
Terms:
Arg:
Text
from:
Assignment
Slots:
Terms:
Determine:
Text
args:
Arg
repeats
Slots:
Terms:
FromAddress:
Address
Slots:
Terms:
FromBool:
BoolEval
Slots:
Terms:
FromNum:
NumEval
Slots:
Terms:
FromNumList:
NumListEval
Slots:
Terms:
FromRecord:
RecordEval
Slots:
Terms:
FromRecordList:
RecordListEval
Slots:
Terms:
FromText:
TextEval
Slots:
Terms:
FromTextList:
TextListEval
Slots:
Terms:
pattern:
Text
Slots:
Terms:
scene:
Text