12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>Results:The result type is INTEGER(4). The result is zero if successful. Otherwise, one of the followingerror codes (defined in IFNLS.F90) may be returned:• NLS$ErrorInvalidLanguage – language is invalid or not supported• NLS$ErrorInvalidCountry – country is invalid or is not valid with the language specified• NLS$ErrorInvalidCodepage – codepage is invalid or not installed on the systemNOTE. NLSSetLocale works on installed locales only. Windows systemssupport many locales, but they must be installed through the system ControlPanel/International menu.When doing mixed-language programming with <strong>Fortran</strong> and C, calling NLSSetLocale with acodepage other than the default environment Windows codepage causes the codepage in the Crun-time library to change by calling C’s setmbcp( ) routine with the new codepage. Conversely,changing the C run-time library codepage does not change the codepage in the <strong>Fortran</strong> NLSlibrary.Calling NLSSetLocale has no effect on the locale used by C programs. The locale set with C’ssetlocale( ) routine is independent of NLSSetLocale.Calling NLSSetLocale with the default environment console codepage,NLS$ConsoleEnvironmentCodepage, causes an implicit call to the Windows APISetFileApisToOEM( ). Calling NLSSetLocale with any other codepage causes a call toSetFileApisToANSI( ).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “NLSGetLocale”OUTGTEXTGraphics Subroutine: In graphics mode, sends a string of text to the screen, including anytrailing blanks. This subroutine is only available on Windows* systems.Module: USE IFQWINSyntaxCALL OUTGTEXT (text)text(Input) Character*(*). String to be displayed.2-236

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

Saved successfully!

Ooh no, something went wrong!