Yes / No object


Yes

No

"Yes" and "No" objects are normally used in connection with conditions or loops. Both objects have a single integer input variable and no properties. The "Yes" object stops the current thread if the input variable is zero. Otherwise the object does nothing. The "No" object stops the current thread if the input variable is not zero.
Fig. 1: Usage
Whe using both yes and no object in a condition it is normally good to use non parallel connections. Otherwise always a new thread is created and wasts some cpu time. When doing this within an endless loop, a
cut object should be used.


The Vimms User Manual