Console_SetCP

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Console >

Console_SetCP

 

Description

 

Sets the input code page used by the console associated with the calling process.

A console uses its input code page to translate keyboard input into the corresponding character value.

 

Syntax

 

CP = Console_SetCP(CodePage)

 

Returns

 

Return CP code

 

Parameters

 

Name

Type

Optional

Meaning

CodePage

Numeric

No

Numeric value representing Code Page.

See http://en.wikipedia.org/wiki/Code_page for more info about Code Page codes.





 

Remarks

 

More info about Console Code Page can be found at: http://msdn.microsoft.com/en-us/library/ms682064(VS.85).aspx

 

Restrictions

 

See also

 

Console_SetOutputCP,

 

Examples