Graphics Routines Available in OS/2 with GRTEXTP Library

Last reviewed: July 17, 1995
Article ID: Q50600
The information in this article applies to:
  • Microsoft FORTRAN for OS/2, versions 5.0, 5.1

Microsoft FORTRAN includes GRAPHICS.LIB, a run-time library that supports a number of graphics functions in the MS-DOS environment. The OS/2 graphics library, GRTEXTP.LIB, supports the subset of the graphics functions that perform text graphics. The text below lists the functions that GRTEXTP.LIB supports:

   clearscreen        getvideoconfig    settextposition
   displaycursor      getvisualpage     settextrows
   getactivepage      outtext           settextwindow
   getbkcolor         setactivepage     setvideomode
   gettextcolor       setbkcolor        setvideomoderows
   gettextcursor      settextcolor      setvisualpage
   gettextposition    settextcursor     wrapon

To use graphics in an application designed to run with OS/2, link the GRTEXTP.LIB library instead of GRAPHICS.LIB. Functions not included in the list above are not available in OS/2.

To perform additional graphics operations in an application developed for the OS/2 operating system, use the functions of the OS/2 Presentation Manager.

For more information, see the Microsoft FORTRAN "Advanced Topics" manual. For FORTRAN version 5.1, see page 190 and for FORTRAN version 5.0, see page 148.


Additional reference words: kbinf 5.00 5.10
KBCategory: kbprg
KBSubcategory: FORTLngIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.