114. Demonstrate subroutine get_environment_variable(name,value) of Fortran 2003.#

topic: Environment variables

Note

This tip is a draft1.

Subroutine get_environment_variable(name,value) of Fortran 2003 returns the value of an environment variable or a blank string if it does not exist. The user and computer name can be added to results, and whether the OS is Windows or Unix can be queried.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.