Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Logical Units

jwyoung40
Beginner
392 Views
I have been away from FORTRAN for a long time. Now with
Visual Fortran Standard V 6.6B, Windows XP home I have a rudimentary question. How does one determine the assignments for Logical Units and how they relate to:
terminal, disk drives, CDROM, printer, etc.
My system uses C: for disk drive, D: for CDROM, E: for
Zip Drive, F: for CDRW. From a sample program I see that
the terminal responds to LU 4 (and perhaps other assignments). Is the assignment of LU's done by me or is
it pre-assigned by (?) (XP, VF ?)

Thank you,

Joe
0 Kudos
1 Reply
TimP
Honored Contributor III
392 Views
Joe:

Several of your questions are answered in the "Logical Devices" section of the help files installed with CVF. CVF is more traditional than you indicate, with only the numerical units 0,5,6 pre-connected, consistent with the majority of other Fortran compilers.

I don't believe there is support for direct connection to a Windows drive partition, other than by using OPEN() calls which go through the file system and assign LUN's.

The "Device and Directory Information Routines" section may be relevant to your question.
0 Kudos
Reply