<-- Previous || Up || Next -->

Is Consonant Function
Character Types Class

Public Function IsConsonant( _
    ByVal vCharCode As Integer _
    ) As Boolean

Return True if the character with ASCII value vCharCode is a consonant.
The pre-programmed definitions for the ANSI Windows character set consider consonants to be those alphabetic characters which are not considered vowels.

Examples:
    IsConsonant(Asc("B")) = True
    IsConsonant(Asc("A")) = False
See also:
    IsVowel Function
    IsAlpha Function
vCharCode: 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.