Differences

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

Link to this comparison view

Next revision
Previous revision
print [2013/07/24 22:55]
admin created
print [2026/08/28 03:29] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Print ====== ​+====== Print ======
  
 ===== Description ===== ===== Description =====
  
-This container prints messages to the application console.+This container prints messages to the application console ​before and after executing the functors it contains.
  
 ===== Inputs ===== ===== Inputs =====
 +
 +None.
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name ^ Type ^ Description ^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-| Initial Message ​ | [[String Type|String]]  | Message printed before the execution of the container content.  | None  | +| Initial Message ​ | [[String Type]] ​ | Message printed before the contained functors execute.  | None  | 
-| Final Message ​ | [[String Type|String]]  | Message printed ​before the execution of the container content.  | None  | +| Final Message ​ | [[String Type]] ​ | Message printed ​after the contained functors execute.  | None  | 
-| Log Level  | [[Log Tag Type|Log Tag]]  | Message ​log level. ​ | Unconditional ​ |+| Log Level  | [[Log Tag Type]] ​ | Log level used to print both messages. The log level indicates whether a message is a regular progress message or an error message, for example.  | Unconditional ​ |
  
 ===== Outputs ===== ===== Outputs =====
 +
 +None.
  
 ===== Group ===== ===== Group =====
  
-[[Functor List#​Control|Control]]+[[Functor List#​Control | Control]]
  
 ===== Notes ===== ===== Notes =====
  
-All messages are print to the application console ​using the given log level.+Initial Message, when set, is printed before ​the contained functors run; Final Message, when set, is printed only after all of them have finished running. Both are printed ​using the level set in Log Level. 
 + 
 +Using this container with nothing placed inside it is not recommended:​ with no contained functors to order its execution against, when the message is actually printed relative to the rest of the model becomes unspecified. 
 + 
 +This functor has no string-formatting capabilities of its own. To embed a computed value in a message, assemble the string first with [[Create String]] and connect its result into Initial Message or Final Message; some types are also converted to a string automatically when connected directly.
  
-===== Internal Name ===== +===== Internal Name =====
  
 Print Print