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

Is Punct Function
Character Types Class

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

"Is Character Punctuation"
Return True if the character with ASCII value vCharCode is a punctuation character; return False otherwise.
Punctuation characters include comma, period, quote mark, etc.

    IsPunct(Asc("%")) = True
    IsPunct(Asc("L")) = False
    IsPunct(Asc(" ")) = False
See also:
    IsGraph Function
    IsPrint Function
    CharTypePunctuation Function
vCharCode: Character whose ASCII value is checked to determine if it belongs to the punctuation class.
Note: Function will generate a runtime error if vCharCode is not between 0 (zero) and 255 inclusive.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.