NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


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

Eric Hivon 2010-06-18
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650