ClassesClasses | | Operators

get_current_dirget_current_dirGetCurrentDirGetCurrentDir (Operator)

Name

get_current_dirget_current_dirGetCurrentDirGetCurrentDir — Get the current working directory.

Signature

get_current_dir( : : : DirName)

Herror get_current_dir(char* DirName)

Herror T_get_current_dir(Htuple* DirName)

void GetCurrentDir(HTuple* DirName)

static HString HMisc::GetCurrentDir()

static void HOperatorSet.GetCurrentDir(out HTuple dirName)

static string HMisc.GetCurrentDir()

Description

get_current_dirget_current_dirGetCurrentDirGetCurrentDirGetCurrentDir returns the current working directory in DirNameDirNameDirNameDirNamedirName.

Execution Information

Parameters

DirNameDirNameDirNameDirNamedirName (output_control)  filename.dir HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of current working directory.

Result

get_current_dirget_current_dirGetCurrentDirGetCurrentDirGetCurrentDir returns the value 2 (H_MSG_TRUE) if the current working directory could be determined. Otherwise, an exception is raised.

Module

Foundation


ClassesClasses | | Operators