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>language(Optional; output) Character*(*). Current language.country(Optional; output) Character*(*). Current country.codepage(Optional; output) INTEGER(4). Current codepage.NLSGetLocale returns a valid codepage in codepage. It does not return one of the NLS$...symbolic constants that can be used with NLSSetLocale.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “NLSSetLocale”ExampleUSE IFNLSCHARACTER(50) cntry, langINTEGER(4) codeCALL NLSGetLocale (lang, cntry, code) ! get all threeCALL NLSGetLocale (CODEPAGE = code) ! get the codepageCALL NLSGetLocale (COUNTRY = cntry, CODEPAGE =code) ! get country and codepageNLSGetLocaleInfoNLS Function: Returns information about the current locale. This function is only available onWindows* systems.Module: USE IFNLSSyntaxresult = NLSGetLocaleInfo (type, outstr)type(Input) INTEGER(4). NLS parameter requested. A list of parameter names is given in theTable 2-1.2-228

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

Saved successfully!

Ooh no, something went wrong!