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 2NOTE. After use, the pointer returned by NLSEnumCodepages should bedeallocated with the DEALLOCATE statement.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “NLSEnumLocales”, the DEALLOCATE statement in the Language <strong>Reference</strong>NLSEnumLocalesNLS Function: Returns an array containing the language and country combinations supported bythe system, in which each array element describes one valid combination. This function is onlyavailable on Windows* systems.Module: USE IFNLSSyntaxptr => NLSEnumLocales ( )Results:The result is a pointer to an array of locales, in which each array element describes one supportedlanguage and country combination. Each element has the following structure:TYPE NLS$EnumLocaleCHARACTER*(NLS$MaxLanguageLen) LanguageCHARACTER*(NLS$MaxCountryLen) CountryINTEGER(4)DefaultWindowsCodepageINTEGER(4)DefaultConsoleCodepageEND TYPEIf the application is a Windows or QuickWin application, NLS$DefaultWindowsCodepage is thecodepage used by default for the given language and country combination. If the application is aconsole application, NLS$DefaultConsoleCodepage is the codepage used by default for the givenlanguage and country combination.NOTE. After use, the pointer returned by NLSEnumLocales should bedeallocated with the DEALLOCATE statement.2-221

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

Saved successfully!

Ooh no, something went wrong!