NLSSetEnvironmentCodepage (W*32)

NLS Function: Sets the codepage for the current console. The specified codepage affects the current console program and any other programs launched from the same console. It does not affect other open consoles or any consoles opened later.

Module

USE IFNLS

構文

result = NLSSetEnvironmentCodepage (codepage,flags)

codepage

(Input) INTEGER(4). Number of the codepage to set as the console codepage.

flags

(Input) INTEGER(4). Must be set to NLS$ConsoleEnvironmentCodepage.

Results

The result type is INTEGER(4). The result is zero if successful. Otherwise, returns one of the following error codes defined in IFNLS.F90:

The flags argument must be a NLS$ConsoleEnvironmentCodepage; it cannot be a NLS$WindowsEnvironmentCodepage. NLSSetEnvironmentCodepage does not affect the Windows* codepage.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。