functionScrollText
Writes the k last messages of a payload on a large text screen, one line each: under the last written line, then scrolling up once the screen is full
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[:] | textIn | ASCII codes shown, line after line: line i, column j at index (i - 1)*nCols + j | |
| Integer | filledIn | Number of lines written so far (at most nLines) | |
| String | payload | Messages separated by line feeds | |
| Integer | k | Number of new messages, the last ones of payload | |
| Integer | nLines | ||
| Integer | nCols |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[size(textIn, 1)] | text | textIn | |
| Integer | filled | filledIn |