Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | Any | Yes | The value to pass through. Nil — or an unconnected port — yields the Default value instead. |
The Default operation substitutes a configured value whenever its input arrives empty.
A value that is present passes through untouched; a Nil — or an input port that was never connected — is replaced by the Default value you configured.
It is the one-Node answer to “this reading is sometimes missing, and downstream needs a number regardless”.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| In | Any | Yes | The value to pass through. Nil — or an unconnected port — yields the Default value instead. |
Outputs
| Port | Type | Default | Description |
|---|---|---|---|
| Out | follows Default value | Nil | In when it carries a value, otherwise the Default value. |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Default value | StackedDataSet | String | The substitute, and the branch that types it (see below). |
| String | String | (empty) | Substitute a text value. |
| Integer | Integer | (empty) | Substitute a whole number. |
| Double | Number | (empty) | Substitute a floating-point number. |
| Boolean | Boolean | (empty) | Substitute true or false. |
| On Error | Combo | Stop this branch | Per-op On Error verb (Stop this branch / Continue with the last value / Continue with the fallback). See the Error Handling guide. |
State on Reload
Default holds no state. Every run is decided by the value in front of it, so there is nothing to preserve and nothing to discard.
Read the input — Out is written with In when that carries any value at all, including 0, false and the empty string.
Substitute — when In is Nil, or the port was never connected, Out is written with the configured Default value.
Continue — the path always continues.
Default value: Integer = 20 In: 23
Out: 23
Default value: Integer = 20 In: Nil
Out: 20
Default value: Boolean = true In: false
Out: false (false is a value, not an absence)
Default value: String = "unknown" In: ""
Out: "" (an empty string is a value; only Nil substitutes)
Nil; Default supplies the value the rest of the graph needs."unknown" rather than showing an empty slot.