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 2i = NLSFORMATTIME(str, NLS$NOTIMEMARKER) ! 11:38:28 PMi = NLSFORMATTIME(str, IOR(NLS$FORCE24HOURFORMAT,& NLS$NOSECONDS)) ! 23:38 PMEND&NLSGetEnvironmentCodepageNLS Function: Returns the codepage number for the system (Window) codepage or the consolecodepage. This function is only available on Windows* systems.Module: USE IFNLSSyntaxresult = NLSGetEnvironmentCodepage (flags)flags(Input) INTEGER(4). Tells the function which codepage number to return. Available values(defined in IFNLS.F90) are:• NLS$ConsoleEnvironmentCodepage – Gets the codepage for the console• NLS$WindowsEnvironmentCodepage – Gets the current Windows codepageResults:The result type is INTEGER(4). The result is zero if successful; otherwise, it returns one of thefollowing error codes:• NLS$ErrorInvalidFlags – flags has an illegal value• NLS$ErrorNoConsole – There is no console associated with the given application; so,operations with the console codepage are not possibleCompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “NLSSetEnvironmentCodepage”NLSGetLocaleNLS Subroutine: Returns the current language, country, or codepage. This subroutine is onlyavailable on Windows* systems.Module: USE IFNLSSyntaxCALL NLSGetLocale ([language] [, country] [, codepage])2-227

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

Saved successfully!

Ooh no, something went wrong!