Public Function IsConsonant( _
ByVal vCharCode As Integer _
) As Boolean
Return True if the character with ASCII value vCharCode is a consonant. Examples:
The pre-programmed definitions for the ANSI Windows character set consider consonants to be those alphabetic characters which are not considered vowels.
IsConsonant(Asc("B")) = True
IsConsonant(Asc("A")) = FalseSee also:
IsAlpha FunctionvCharCode: ASCII value of a character which is checked to determine if it is a consonant.
Note: Function will generate a runtime error if vCharCode is < 0 (less than zero). Function will return False if vCharCode is > (greater than) 255.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.