IsCharAlpha

Description

This function determines whether a character is an alphabetic character. This determination is based on the semantics of the language selected by the user during setup or through Control Panel.

Syntax

BOOL IsCharAlpha( char ch )


Parameters

[input] ch
the character to be tested

Return

true if the test char is an alphabetic ,otherwise false.

Examples

EX1

void IsCharAlpha_ex1()
{
char ch = 'a';
//change ch to '&' to see different result
bool bRet = IsCharAlpha(ch);
if(bRet)
printf("\'%c\' is in alphabet\n",ch);
else
printf("\'%c\' is not in alphabet\n",ch);
}