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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com