sum

| Name | Type | Description | Optional |
|---|---|---|---|
input |
string |
a string to be concatenated to the result |
no |
complete |
?0 |
output the concatenated result if true (interpreted as boolean) |
no |
| Name | Type | Description | Optional |
|---|---|---|---|
output |
string |
concatenation of inputs |
no |
sum reads its two inputs ports. the input number is added to the accumulated sum. if complete is true, the accumulated sum is output to the output port, and the accumulator is reset to zero. Note that there is no output except when the complete input is true.