12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>Results:The result type is INTEGER(4). The result is the index of the last nonblank character in string.LNBLNK is very similar to the intrinsic function LEN_TRIM, except that string cannot be anarray.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: the LEN_TRIM intrinsic function in the Language <strong>Reference</strong>ExampleUSE IFPORTinteger(4) pp = LNBLNK(’ GOOD DAY ’) ! returns 9p = LNBLNK(’ ’) ! returns 0LOADIMAGE, LOADIMAGE_WGraphics Functions: Read an image from a Windows bitmap file and display it at a specifiedlocation. These functions are only available on Windows* systems.Module: USE IFQWINSyntaxresult = LOADIMAGE (filename, xcoord, ycoord)result = LOADIMAGE_W (filename, wxcoord, wycoord)filename(Input) Character*(*). Path of the bitmap file.xcoord, ycoord(Input) INTEGER(4). Viewport coordinates for upper-left corner of image display.wxcoord, wycoord(Input) REAL(8). Window coordinates for upper-left corner of image display.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a negative value.The image is displayed with the colors in the bitmap file. If the color palette in the bitmap file isdifferent from the current system palette, the current palette is discarded and the bitmap’s palette isloaded.LOADIMAGE specifies the screen placement of the image in viewport coordinates.LOADIMAGE_W specifies the screen placement of the image in window coordinates.2-196

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

Saved successfully!

Ooh no, something went wrong!