method
Text.repeat
Text.repeat(s, n) -> string
Returns s concatenated with itself n times; n <= 0 yields the empty string. Handy for drawing a text bar, an indent, or a separator line without a loop.
Example
program Demo {
handler Step phase Update {
let bar = Text.repeat("#", filled)
}
}