Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries Reference"[rwxXst]*" indicates the permission to add, subtract, or set. On Windows systems, only "w" issignificant and affects write permission; all other letters are ignored. On Linux systems, all lettersare significant.Results:The result type is INTEGER(4). The result is zero if the mode was changed successfully;otherwise, an error code. Possible error codes are:• ENOENT: The specified file was not found.• EINVAL: The mode argument is invalid.• EPERM: Permission denied; the file’s mode cannot be changed.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “SETFILEACCESSQQ”ExampleUSE IFPORTinteger(4) I,IstatusI = ACCESS ("DATAFILE.TXT", "w")if (i) thenISTATUS = CHMOD ("datafile.txt", "[+w]")end ifI = ACCESS ("DATAFILE.TXT","w")print *, iCLEARSCREENGraphics Subroutine: Erases the target area and fills it with the current background color. Thissubroutine is only available on Windows* systems.Module: USE IFQWINSyntaxCALL CLEARSCREEN (area)area(Input) INTEGER(4). Identifies the target area. Must be one of the following symbolic constants(defined in IFQWIN.F90):• $GCLEARSCREEN - Clears the entire screen.• $GVIEWPORT - Clears only the current viewport.• $GWINDOW - Clears only the current text window (set with SETTEXTWINDOW).2-28
- Page 29 and 30: Overview of the Libraries 1Table 1-
- Page 31 and 32: Overview of the Libraries 1Table 1-
- Page 33 and 34: Overview of the Libraries 1Table 1-
- Page 35 and 36: Overview of the Libraries 1Table 1-
- Page 37 and 38: Overview of the Libraries 1TimeThe
- Page 39 and 40: Overview of the Libraries 1Table 1-
- Page 41 and 42: Overview of the Libraries 1Table 1-
- Page 43 and 44: Overview of the Libraries 1Table 1-
- Page 45 and 46: Overview of the Libraries 1Table 1-
- Page 47 and 48: Overview of the Libraries 1Table 1-
- Page 49 and 50: Overview of the Libraries 1Table 1-
- Page 51 and 52: Overview of the Libraries 1Table 1-
- Page 53 and 54: Descriptions of the LibraryRoutines
- Page 55 and 56: Descriptions of the Library Routine
- Page 57 and 58: Descriptions of the Library Routine
- Page 59 and 60: Descriptions of the Library Routine
- Page 61 and 62: Descriptions of the Library Routine
- Page 63 and 64: Descriptions of the Library Routine
- Page 65 and 66: Descriptions of the Library Routine
- Page 67 and 68: Descriptions of the Library Routine
- Page 69 and 70: Descriptions of the Library Routine
- Page 71 and 72: Descriptions of the Library Routine
- Page 73 and 74: Descriptions of the Library Routine
- Page 76 and 77: 2 Intel Fortran Libraries Reference
- Page 79: Descriptions of the Library Routine
- Page 83 and 84: Descriptions of the Library Routine
- Page 85 and 86: COMCLSIDFromStringDescriptions of t
- Page 87 and 88: Descriptions of the Library Routine
- Page 89 and 90: Descriptions of the Library Routine
- Page 91 and 92: Descriptions of the Library Routine
- Page 93 and 94: Descriptions of the Library Routine
- Page 95 and 96: Descriptions of the Library Routine
- Page 99 and 100: Descriptions of the Library Routine
- Page 101 and 102: Descriptions of the Library Routine
- Page 103 and 104: Descriptions of the Library Routine
- Page 105 and 106: Descriptions of the Library Routine
- Page 107 and 108: Descriptions of the Library Routine
- Page 109 and 110: Descriptions of the Library Routine
- Page 111 and 112: Descriptions of the Library Routine
- Page 113 and 114: Descriptions of the Library Routine
- Page 115 and 116: Descriptions of the Library Routine
- Page 117 and 118: Descriptions of the Library Routine
- Page 119 and 120: Descriptions of the Library Routine
- Page 121 and 122: Descriptions of the Library Routine
- Page 123 and 124: Descriptions of the Library Routine
- Page 125 and 126: Descriptions of the Library Routine
- Page 127 and 128: Descriptions of the Library Routine
- Page 129 and 130: Descriptions of the Library Routine
2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>"[rwxXst]*" indicates the permission to add, subtract, or set. On Windows systems, only "w" issignificant and affects write permission; all other letters are ignored. On Linux systems, all lettersare significant.Results:The result type is INTEGER(4). The result is zero if the mode was changed successfully;otherwise, an error code. Possible error codes are:• ENOENT: The specified file was not found.• EINVAL: The mode argument is invalid.• EPERM: Permission denied; the file’s mode cannot be changed.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: “SETFILEACCESSQQ”ExampleUSE IFPORTinteger(4) I,IstatusI = ACCESS ("DATAFILE.TXT", "w")if (i) thenISTATUS = CHMOD ("datafile.txt", "[+w]")end ifI = ACCESS ("DATAFILE.TXT","w")print *, iCLEARSCREENGraphics Subroutine: Erases the target area and fills it with the current background color. Thissubroutine is only available on Windows* systems.Module: USE IFQWINSyntaxCALL CLEARSCREEN (area)area(Input) INTEGER(4). Identifies the target area. Must be one of the following symbolic constants(defined in IFQWIN.F90):• $GCLEARSCREEN - Clears the entire screen.• $GVIEWPORT - Clears only the current viewport.• $GWINDOW - Clears only the current text window (set with SETTEXTWINDOW).2-28