NLSGetEnvironmentCodepage
NLS Function: Returns the codepage number
for the system (Window) codepage or the console codepage.
Module: USE DFNLS
Syntax
- result = NLSGetEnvironmentCodepage (flags)
- flags
(Input) INTEGER(4). Tells the function which codepage number to
return. Available values (defined in DFNLS.F90 in /DF/INCLUDE) are:
- NLS$ConsoleEnvironmentCodepage - Gets the
codepage for the console
- NLS$WindowsEnvironmentCodepage - Gets the
current Windows codepage
Results:
The result is of type INTEGER(4).
The result is zero if successful; otherwise, it returns
one of the following error codes:
- NLS$ErrorInvalidFlags - flags has
an illegal value
- NLS$ErrorNoConsole - There is no console
associated with the given application; so, operations with the console
codepage are not possible
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL
LIB
See Also: NLSSetEnvironmentCodepage