Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
if_not_then [2011/07/31 18:00]
hermann created
if_not_then [2026/08/28 03:22] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== If Not Then ====== ​+====== If Not Then ======
  
 ===== Description ===== ===== Description =====
  
-This container executes contained ​functors ​conditionally.+Executes the functors ​it contains only when its condition is false.
  
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-| Condition ​ | [[ Bool Type|Bool  ​]]  | |+| Condition ​ | [[Boolean Value Type]] ​ | Condition that determines whether the contained functors execute. The contained functors run when this value is false.  ​|
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^ Default Value  ^
 +| Sequence Input  | [[None Type]] ​ | Ensures that the functor connected to this port finishes executing before this container starts. ​ | None  |
  
 ===== Outputs ===== ===== Outputs =====
 +
 +^ Name  ^ Type  ^ Description ​ ^
 +| Sequence Output ​ | [[None Type]] ​ | Connect this port to another container'​s Sequence Input to make this container finish executing before that other container starts. ​ |
  
 ===== Group ===== ===== Group =====
Line 18: Line 24:
 [[Functor List#​Control | Control]] [[Functor List#​Control | Control]]
  
-===== Notes ===== +===== Notes ===== 
 + 
 +When Condition may be true, and a result produced by the contained functors is used outside the container, connect a matching junction (such as [[Map Junction]] or [[Value Junction]]) after the container, so a value still reaches the rest of the model when the content does not execute.
  
-===== Internal Name ===== +===== Internal Name =====
  
 IfNotThen IfNotThen