02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

REPEAT(STRING, NCOPIES)<br />

Description<br />

Concatenate several copies of a string.<br />

Class<br />

Transformational function.<br />

Arguments<br />

STRING must be scalar and of type character.<br />

NCOPIES must be scalar and of type integer. Its value must not be negative.<br />

Result type,<br />

type parameters,<br />

and shape<br />

Character scalar of length NCOPIES times that of STRING, with the same kind type parameter<br />

as STRING.<br />

Result value<br />

ThevalueoftheresultistheconcatenationofNCOPIES copies of STRING.<br />

Specific forms<br />

KREPEAT.<br />

RESHAPE(SOURCE, SHAPE, PAD, ORDER)<br />

Optional arguments<br />

PAD, ORDER<br />

Description<br />

Constructs an array of a specified shape from the elements of a given array.<br />

Class<br />

Transformational function.<br />

578<br />

Chapter 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!