||* (repetition)

operator

Syntax
string-expression ||* numeric-expression
    


Purpose

The operator ||* concatenates copies of the specified string-expression. The number of copies is specified with the numeric-expression. The numeric-expression value must be greater than or equal to zero:

  process
     output "*" ||* 4
          

This program outputs

  ****

The keyword repeated is a deprecated synonym for ||*.