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 2The flags argument must be NLS$ConsoleEnvironmentCodepage; it cannot beNLS$WindowsEnvironmentCodepage. NLSSetEnvironmentCodepage does not affect theWindows* codepage.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “NLSGetEnvironmentCodepage”NLSSetLocaleNLS Function: Sets the current language, country, or codepage. This function is only availableon Windows* systems.Module: USE IFNLSSyntaxresult = NLSSetLocale (language [, country] [, codepage])language(Input) Character*(*). One of the languages supported by the Windows* NLS APIs.country(Optional; input) Character*(*). If specified, characterizes the language further. If omitted, thedefault country for the language is set.codepage(Optional; input) INTEGER(4). If specified, codepage to use for all character-oriented NLSfunctions. Can be any valid supported codepage or one of the following predefined values (definedin IFNLS.F90):• NLS$CurrentCodepage – The codepage is not changed. Only the language and countrysettings are altered by the function.• NLS$ConsoleEnvironmentCodepage – The codepage is changed to the default environmentcodepage currently in effect for console programs.• NLS$ConsoleLanguageCodepage – The codepage is changed to the default console codepagefor the language and country combination specified.• NLS$WindowsEnvironmentCodepage – The codepage is changed to the default environmentcodepage currently in effect for Windows programs.• NLS$WindowsLanguageCodepage – The codepage is changed to the default Windows*codepage for the language and country combination specified.If you omit codepage, it defaults to NLS$WindowsLanguageCodepage. At program startup,NLS$WindowsEnvironmentCodepage is used to set the codepage.2-235

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

Saved successfully!

Ooh no, something went wrong!