-
Notifications
You must be signed in to change notification settings - Fork 3
Scalar Switch Action
Leon Starr edited this page Sep 23, 2023
·
4 revisions
A scalar switch action takes a Scalar Flow as input. This flow must provide a value defined as part of an enumerated type.
Action language will provide this flow either as a temporary variable or an output of some other Action.
Here is an example in Scrall:
valve position? {
.open : close -> my valve
.closed : open -> my valve
}
The above example takes its input from the valve position
temporary variable and applies one case for each possible enumerated value.
- Action + Activity + Domain
No non-referential attributes
Copyright © 2021-2023 Leon Starr