Clicky

Fortran Wiki
repeat (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #1 to #2: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

Concatenates ncopies copies of a string.

Standard

(削除) Fortran 95 and later (削除ここまで)(追記) Fortran 95 (追記ここまで)(追記) and later (追記ここまで)

Class

Transformational function

Syntax

result = repeat(string, ncopies)

Arguments

  • string - Shall be scalar and of type character.
  • ncopies - Shall be scalar and of type integer.

Return value

A new scalar of type character built up from ncopies copies of string.

Example

program test_repeat
 write(*,*) repeat("x", 5) ! "xxxxx"
end program

category: (削除) Intrinsics (削除ここまで)(追記) intrinsics (追記ここまで)

Revised on April 30, 2009 20:12:46 by Jason Blevins (71.70.142.190) (540 characters / 0.0 pages)
Edit | Back in time (1 revision) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures

AltStyle によって変換されたページ (->オリジナル) /