c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

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