Advertisement
zrhans

fsc1004-01

Aug 31st, 2014
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function string_concat(s1, s2)                             ! This is a comment
  2.    TYPE (string), INTENT(IN) :: s1, s2
  3.    TYPE (string) string_concat
  4.    string_concat%string_data = s1%string_data(1:s1%length) // &
  5.       s2%string_data(1:s2%length)                          ! This is a continuation
  6.    string_concat%length = s1%length + s2%length
  7. end fuction string_concat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement