return current directory
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | istat |
FUNCTION CurrentDir & ! ( ) & ! RESULT (cwd) USE ifport IMPLICIT NONE ! Local declarations: CHARACTER (LEN = 1000) :: cwd INTEGER :: istat !------------end of declaration------------------------------------------------ istat = getcwd(cwd) RETURN END FUNCTION CurrentDir