12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “GETDRIVEDIRQQ”, “MAKEDIRQQ”, “DELDIRQQ”, “CHANGEDRIVEQQ”ExampleUSE IFPORTLOGICAL(4) statusstatus = CHANGEDIRQQ('d:\fps90\bin\bessel')CHANGEDRIVEQQPortability Function: Makes the specified drive the current, default drive.Module: USE IFPORTSyntaxresult = CHANGEDRIVEQQ (drive)drive(Input) Character*(*). String beginning with the drive letter.Results:The result type is LOGICAL(4). On Windows* systems, the result is .TRUE. if successful;otherwise, .FALSE. On Linux* systems, the result is always .FALSE..Because drives are identified by a single alphabetic character, CHANGEDRIVEQQ examinesonly the first character of drive. The drive letter can be uppercase or lowercase.CHANGEDRIVEQQ changes only the current drive. The current directory on the specified drivebecomes the new current directory. If no current directory has been established on that drive, theroot directory of the specified drive becomes the new current directory.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “GETDRIVESQQ”, “GETDRIVESIZEQQ”, “GETDRIVEDIRQQ”,“CHANGEDIRQQ”ExamplesUSE IFPORTLOGICAL(4) statusstatus = CHANGEDRIVEQQ('d')Consider the following:USE IFPORT2-24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!