Topic: Use of other DLLs

On some code that ran under Visual Fortran, I had used a variable CHANGEDIRQQ.  This reset the focus of the code to a different folder on my PC so the next round of processing could continue on the files within the new folder.  I suspect Visual Fortran had a library or area which was automatically included in the linking process.  Can SF do something like this?  Are there DLLs or other related files somewhere that I can put into my installation for future use?

Thanks...Kurt

Re: Use of other DLLs

Kurt,

I'm afraid CHANGEDIRQQ was a Compaq Visual Fortran extension.  However, GNU Fortran implements the CHDIR subroutine that should work similarly:

CHDIR — Change working directory

Description:

    Change current working directory to a specified path.

    This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.

Standard:

    GNU extension

Class:

    Subroutine, function

Syntax:
    CALL CHDIR(NAME [, STATUS])
    STATUS = CHDIR(NAME)

Arguments:

    NAME    The type shall be CHARACTER of default kind and shall specify a valid path within the file system.
    STATUS    (Optional) INTEGER status flag of the default kind. Returns 0 on success, and a system specific and nonzero error code otherwise.

Jeff Armstrong
Approximatrix, LLC

Re: Use of other DLLs

I will make the change and continue my evaluation.

Thanks...Kurt