9.125. GET_ENVIRONMENT_VARIABLE

9.125 GET_ENVIRONMENT_VARIABLE — Get an environmental variable

Description:

Get the VALUE of the environmental variable NAME.

Note that GET_ENVIRONMENT_VARIABLE need not be thread-safe. It is the responsibility of the user to ensure that the environment is not being updated concurrently with a call to the GET_ENVIRONMENT_VARIABLE intrinsic.

Standard:

Fortran 2003 and later

Class:

Subroutine

Syntax:

CALL GET_ENVIRONMENT_VARIABLE(NAME[, VALUE, LENGTH, STATUS, TRIM_NAME)

Arguments:
NAME Shall be a scalar of type CHARACTER and of default kind.
登录查看完整内容