Silverfrost Logo About Us | Contact Us
 

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@()

 

 

Copyright © 1999-2017 Silverfrost Limited