Navigation:  thinBasic Modules > Console >

Console_SetCP

Previous pageReturn to chapter overviewNext page

 

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

 

Examples