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.

Descriptions of the Library Routines 2SETTEXTWINDOWGraphics Subroutine: Sets the current text window. This subroutine is only available onWindows* systems.Module: USE IFQWINSyntaxCALL SETTEXTWINDOW (r1, c1, r2, c2)r1, c1(Input) INTEGER(2). Row and column coordinates for upper-left corner of the text window.r2, c2(Input) INTEGER(2). Row and column coordinates for lower-right corner of the text window.SETTEXTWINDOW specifies a window in row and column coordinates where text output to thescreen using OUTTEXT, WRITE, or PRINT will be displayed. You set the text location withinthis window with SETTEXTPOSITION.Text is output from the top of the window down. When the window is full, successive linesoverwrite the last line.SETTEXTWINDOW does not affect the output of the graphics text routine OUTGTEXT. Use theSETVIEWPORT function to control the display area for graphics output.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETTEXTPOSITION”, “GETTEXTWINDOW”, “GRSTATUS”, “OUTTEXT”,“SCROLLTEXTWINDOW”, “SETTEXTPOSITION”, “SETVIEWPORT”, “WRAPON”ExampleUSE IFQWINTYPE (rccoord) curposCALL SETTEXTWINDOW(INT2(5), INT2(1), INT2(7), &INT2(40))CALL SETTEXTPOSITION (INT2(5), INT2(5), curpos)WRITE(*,*) "Only two lines in this text window"WRITE(*,*) "so this line will be overwritten"WRITE(*,*) "by this line"END2-427

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

Saved successfully!

Ooh no, something went wrong!