c0de 0.3.0Diese Seite auf Deutsch

FILL ​

Returns a text that repeats one character.

count must be between 0 and 1,000,000, otherwise INVALID_ARGUMENT is raised.

Parameters and results

  • count INTEGER: how often the character is repeated
  • char CHAR: the character
  • result result STRING: the repeated character

Example

c0de
CALL c0de/strings/FILL
    PARAMETER count 20 ;
    PARAMETER char '-' ;
    RESULT result line