Clicky
Showing changes from revision #1 to #2:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
Concatenates ncopies
copies of a string.
(削除) Fortran 95 and later (削除ここまで)(追記) Fortran 95 (追記ここまで)(追記) and later (追記ここまで)
Transformational function
result = repeat(string, ncopies)
string
- Shall be scalar and of type character
.ncopies
- Shall be scalar and of type integer
.A new scalar of type character
built up from ncopies
copies of string
.
program test_repeat
write(*,*) repeat("x", 5) ! "xxxxx"
end program