インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

NLSGetEnvironmentCodepage (W*S)

NLS Function: Returns the codepage number for the system (Window) codepage or the console codepage.

Module

USE IFNLS

result = 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 codepage

Results

The result type is INTEGER(4). The result is zero if successful; otherwise, it returns one of the following error codes:

See Also