CURDIR@

Platform

x64, Win32

Purpose

To get the current directory.

Syntax

CHARACTER (LEN=*) FUNCTION CURDIR@()

Return value

CURDIR@ returns the fully qualified path name of the current directory. Its maximum length is 256 characters. If an error occurs the path name is filled with spaces.

Example

CHARACTER (LEN=256)::CURDIR@
PRINT *,'You are currently in ',CURDIR@()

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited