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.

Descriptions of the Library Routines 2ExampleGETLOG! Build as GraphicsUSE IFQWININTEGER(2) lstylelstyle = GETLINESTYLE()WRITE (*, 100) lstyle, lstyle100 FORMAT (1X, ’Line mask in Hex ’, Z4, ’ and binary ’, B16)ENDPortability Subroutine: Returns the user’s login name.Module: USE IFPORTSyntaxCALL GETLOG (name)name(Output) Character*(*). User’s login name.The login name must be less than or equal to 64 characters. If the login name is longer than 64characters, it is truncated. The actual parameter corresponding to name should be long enough tohold the login name. If the supplied actual parameter is too short to hold the login name, the loginname is truncated.If the login name is shorter than the actual parameter corresponding to name, the login name ispadded with blanks at the end, until it reaches the length of the actual parameter.If the login name cannot be determined, all blanks are returned.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBExampleuse IFPORTcharacter*20 usernameCALL GETLOG (username)print *, "You logged in as ",usernameGETPHYSCOORDGraphics Subroutine: Translates viewport coordinates to physical coordinates. This subroutine isonly available on Windows* systems.2-133

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

Saved successfully!

Ooh no, something went wrong!