Google

CCP4 web logo CCP4i: Graphical User Interface
Documentation for Programmers
GetFullFileName

next button previous button top button

NAME

GetFullFileName - Return the full pathname for a file

SYNOPSIS

GetFullFileName filename dir_alias

GetFullFileName0 arrayname filenameVar

Optional Arguments:

-machine machine

DESCRIPTION

GetFullFileName will return the full pathname of a file given a filename without any directory structure and the directory alias dir_alias for the directory containing the file. If the input filename already has some directory structure then it is returned without change.

GetFullFileName0 is usually used in the context of defining a task interface where array arrayname contains the parameters for the task and filenameVar is the name of the array element which contains the name of the file. It is assumed that the parameter names for the task follow the convention that the directory alias for a file has the parameter name DIR_filenameVar where filenameVar is the parameter name for the filename. The procedure will return the full path name for the file.

KEYWORDS