Next: , Previous: , Up: The Rules File: Where the Magic Happens   [Contents]


2.3.2 The Anatomy of a Logic Block

Every logic block in STARTER follows a consistent, clean format:

target {
    rule; ...
}
target

Represents WHAT you want to control (the Output).

rule

Represents HOW and WHEN it should react.

If we were to translate our "alarm clock" block into plain English, it would look like this:

BEEP {
  Set to Active when it is exactly
    Seven o'clock;
  Set to Off whenever the first
    condition isn't met (Default to False).
}