Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceGETTEXTWINDOWGraphics Subroutine: Finds the boundaries of the current text window. This subroutine is onlyavailable on Windows* systems.Module: USE IFQWINSyntaxCALL GETTEXTWINDOW (r1, c1, r2, c2)r1, c1(Output) INTEGER(2). Row and column coordinates for upper-left corner of the text window.r2, c2(Output) INTEGER(2). Row and column coordinates for lower-right corner of the text window.Output from OUTTEXT and WRITE is limited to the text window. By default, this is the entirewindow, unless the text window is redefined by SETTEXTWINDOW.The window defined by SETTEXTWINDOW has no effect on output from OUTGTEXT.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETTEXTPOSITION”, “OUTTEXT”, “SCROLLTEXTWINDOW”,“SETTEXTPOSITION”, “SETTEXTWINDOW”, “WRAPON”, the WRITE statement in theLanguage ReferenceExample! Build as QuickWin or Standard GraphicsUSE IFQWININTEGER(2) top, left, bottom, rightDO i = 1, 10WRITE(*,*) "Hello, world"END DO! Save text window positionCALL GETTEXTWINDOW (top, left, bottom, right)! Scroll text window down seven linesCALL SCROLLTEXTWINDOW (INT2(-7))! Restore text windowCALL SETTEXTWINDOW (top, left, bottom, right)WRITE(*,*) "At beginning again"END2-148
Descriptions of the Library Routines 2GETTIMPortability Subroutine: Returns the time.Module: USE IFPORTSyntaxCALL GETTIM (ihr, imin, isec, i100th)ihr(Output) INTEGER(4) or INTEGER(2). Hour (0-23).imin(Output) INTEGER(4) or INTEGER(2). Minute (0-59).isec(Output) INTEGER(4) or INTEGER(2). Second (0-59).i100th(Output) INTEGER(4) or INTEGER(2). Hundredths of a second (0-99).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS DLL LIBSee Also: “GETDAT”, “SETDAT”, “SETTIM”ExampleSee the example in “GETDAT”.GETTIMEOFDAYPortability Subroutine: Returns seconds and microseconds since 00:00 Jan 1, 1970.Module: USE IFPORTSyntaxCALL GETTIMEOFDAY (ret, err)ret(Output) INTEGER(4). One-dimensional array with 2 elements used to contain numeric time data.The elements of ret are returned as follows:Elementret(1)ret(2)ValueSecondsMicroseconds2-149
- Page 150 and 151: 2 Intel Fortran Libraries Reference
- Page 152 and 153: 2 Intel Fortran Libraries Reference
- Page 154 and 155: 2 Intel Fortran Libraries Reference
- Page 156 and 157: 2 Intel Fortran Libraries Reference
- Page 158 and 159: 2 Intel Fortran Libraries Reference
- Page 160 and 161: 2 Intel Fortran Libraries Reference
- Page 162 and 163: 2 Intel Fortran Libraries Reference
- Page 164 and 165: 2 Intel Fortran Libraries Reference
- Page 166 and 167: 2 Intel Fortran Libraries Reference
- Page 168 and 169: 2 Intel Fortran Libraries Reference
- Page 170 and 171: 2 Intel Fortran Libraries Reference
- Page 172 and 173: 2 Intel Fortran Libraries Reference
- Page 174 and 175: 2 Intel Fortran Libraries Reference
- Page 176 and 177: 2 Intel Fortran Libraries Reference
- Page 178 and 179: 2 Intel Fortran Libraries Reference
- Page 180 and 181: 2 Intel Fortran Libraries Reference
- Page 182 and 183: 2 Intel Fortran Libraries Reference
- Page 184 and 185: 2 Intel Fortran Libraries Reference
- Page 186 and 187: 2 Intel Fortran Libraries Reference
- Page 188 and 189: 2 Intel Fortran Libraries Reference
- Page 190 and 191: 2 Intel Fortran Libraries Reference
- Page 192 and 193: 2 Intel Fortran Libraries Reference
- Page 194 and 195: 2 Intel Fortran Libraries Reference
- Page 196 and 197: 2 Intel Fortran Libraries Reference
- Page 198 and 199: 2 Intel Fortran Libraries Reference
- Page 202 and 203: 2 Intel Fortran Libraries Reference
- Page 204 and 205: 2 Intel Fortran Libraries Reference
- Page 206 and 207: 2 Intel Fortran Libraries Reference
- Page 208 and 209: 2 Intel Fortran Libraries Reference
- Page 210 and 211: 2 Intel Fortran Libraries Reference
- Page 212 and 213: 2 Intel Fortran Libraries Reference
- Page 214 and 215: 2 Intel Fortran Libraries Reference
- Page 216 and 217: 2 Intel Fortran Libraries Reference
- Page 218 and 219: 2 Intel Fortran Libraries Reference
- Page 220 and 221: 2 Intel Fortran Libraries Reference
- Page 222 and 223: 2 Intel Fortran Libraries Reference
- Page 224 and 225: 2 Intel Fortran Libraries Reference
- Page 226 and 227: 2 Intel Fortran Libraries Reference
- Page 228 and 229: 2 Intel Fortran Libraries Reference
- Page 230 and 231: 2 Intel Fortran Libraries Reference
- Page 232 and 233: 2 Intel Fortran Libraries Reference
- Page 234 and 235: 2 Intel Fortran Libraries Reference
- Page 236 and 237: 2 Intel Fortran Libraries Reference
- Page 238 and 239: 2 Intel Fortran Libraries Reference
- Page 240 and 241: 2 Intel Fortran Libraries Reference
- Page 242 and 243: 2 Intel Fortran Libraries Reference
- Page 244 and 245: 2 Intel Fortran Libraries Reference
- Page 246 and 247: 2 Intel Fortran Libraries Reference
- Page 248 and 249: 2 Intel Fortran Libraries Reference
Descriptions of the Library Routines 2GETTIMPortability Subroutine: Returns the time.Module: USE IFPORTSyntaxCALL GETTIM (ihr, imin, isec, i100th)ihr(Output) INTEGER(4) or INTEGER(2). Hour (0-23).imin(Output) INTEGER(4) or INTEGER(2). Minute (0-59).isec(Output) INTEGER(4) or INTEGER(2). Second (0-59).i100th(Output) INTEGER(4) or INTEGER(2). Hundredths of a second (0-99).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS DLL LIBSee Also: “GETDAT”, “SETDAT”, “SETTIM”ExampleSee the example in “GETDAT”.GETTIMEOFDAYPortability Subroutine: Returns seconds and microseconds since 00:00 Jan 1, 1970.Module: USE IFPORTSyntaxCALL GETTIMEOFDAY (ret, err)ret(Output) INTEGER(4). One-dimensional array with 2 elements used to contain numeric time data.The elements of ret are returned as follows:Elementret(1)ret(2)ValueSecondsMicroseconds2-149