Silverfrost Logo About Us | Contact Us
 

CURRENT_DIR@

Platform

x64, Win32

Purpose

To get the current directory.

Syntax

SUBROUTINE CURRENT_DIR@(DIR,ERROR_CODE)
CHARACTER (LEN=*) DIR
INTEGER (KIND=2) ERROR_CODE

Description

This routine is obsolete. Use CURDIR@ instead.

Return value

Returns the name of the current working directory in DIR, or a non-zero error code ERROR_CODE if failed. ERROR_CODE is returned as ERANGE if the variable DIR is not of sufficient length. (ERANGE is defined in the include file errno.ins.)

 

 

Copyright © 1999-2017 Silverfrost Limited