HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 613
REPEAT(STRING, NCOPIES)
Description
Concatenate several copies of a string.
Class
Transformational function.
Arguments
STRING must be scalar and of type character.
NCOPIES must be scalar and of type integer. Its value must not be negative.
Result type,
type parameters,
and shape
Character scalar of length NCOPIES times that of STRING, with the same kind type parameter
as STRING.
Result value
The value of the result is the concatenation of NCOPIES copies of STRING.
Specific forms
KREPEAT.
RESHAPE(SOURCE, SHAPE, PAD, ORDER)
Optional arguments
PAD, ORDER
Description
Constructs an array of a specified shape from the elements of a given array.
Class
Transformational function.