concatnl

Function to concatenate up to 10 subtrings interspaced with LineFeed character. Upon printing each subtring will be on a different line.

Location in HEALPix directory tree: src/f90/mod/paramfile_io.F90 


FORMAT

var=concatnl( string1[, string2, string3, ...] )


ARGUMENTS

name & dimensionality kind in/out description
       
string1 CHR IN the first substring to be concatenated.
string2 CHR IN optional the second substring (if any) to be concatenated.
string3 CHR IN optional ... up to 10 substrings can be concatenated.
var CHR OUT concatenation of the substrings interspaced with LineFeed character.


EXAMPLE:

use paramfile_io
print*,concatnl('a','bbbbbbbb','C 10 3')
$\textstyle \parbox{2.2cm}{
Will~return:
\parbox[t]{2cm}{\tt{a\\ bbbbbbbb\\ C 10 3}}}$

RELATED ROUTINES

This section lists the routines related to concatnl

parse_xxx
parse an ASCII file for parameters definition

Version 3.82, 2022-07-28