Virtual signals: Difference between revisions
(Make explanations more concise, remove info common to all signals, improve captions) |
m (Replace incorrect term) |
||
Line 16: | Line 16: | ||
=== Anything === | === Anything === | ||
''Anything'' can be used on the left side of | ''Anything'' can be used on the left side of conditions. The condition will be true when the condition is true for at least one signal. | ||
=== Each === | === Each === | ||
''Each'' can only be used in left input side and output of [[decider combinator|decider]] and [[arithmetic combinator|arithmetic]] combinators. The signal can only be used as output when also used as input. When used in both the input and output it makes a combinator perform its action on each input signal individually. The combinator will output the sum of each of the actions if only used in the input. | ''Each'' can only be used in left input side and output of [[decider combinator|decider]] and [[arithmetic combinator|arithmetic]] combinators. The signal can only be used as output when also used as input. When used in both the input and output it makes a combinator perform its action on each input signal individually. The combinator will output the sum of each of the actions if only used in the input. |
Revision as of 17:37, 7 February 2017
Virtual signals are special non-item signals used in circuit networks. Other than the three logic signals, virtual signals do not behave differently from item signals.
45 virtual signals can be sent over a network. They include the digits zero through nine, the letters A through Z and the colors red, green, blue, yellow, magenta, cyan, white, gray and black.
Logic signals
Three of the virtual signals cannot be sent over a network but apply special logic to multiple signals.
Everything
Everything can be used on the left side in conditionals. The condition will be true when the condition is true for each input signal. The condition is also true if there are no signals.
The output of a decider combinator may also use everything. When used the combinator will output all signals that pass the condition. The everything and anything signals are the only signals used in conditions that can make multiple signals pass a condition.
Anything
Anything can be used on the left side of conditions. The condition will be true when the condition is true for at least one signal.
Each
Each can only be used in left input side and output of decider and arithmetic combinators. The signal can only be used as output when also used as input. When used in both the input and output it makes a combinator perform its action on each input signal individually. The combinator will output the sum of each of the actions if only used in the input.