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


getEnvironment


This subroutine emulates the C routine getenv, which returns the value of an environment variable.


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


FORMAT

call getEnvironment( name, value )


ARGUMENTS

name & dimensionality kind in/out description
       
name CHR IN name of the environment variable
value CHR OUT value of the environment variable


EXAMPLE:

use extension
character(len=128) :: healpixdir
call getEnvironment('HEALPIX', healpixdir)
print*,healpixdir

Will return the value of the $HEALPIX system variable (if it is defined)


RELATED ROUTINES

This section lists the routines related to getEnvironment


getArgument
returns list of command line arguments
nArguments
returns number of command line arguments

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

CL 03-2650