Navigation:  thinBasic Modules > Console >

Console_GetCP

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves 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_GetCP()

 

Returns

 

Return CP code

 

Parameters

 

Name

Type

Optional

Meaning









 

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