ISAFFIRM()
Checks if passed char is an affirmation char
Syntax
ISAFFIRM( <cChar> ) --> <lTrueOrFalse>
Arguments
<cChar> is a char or string of chars
Returns
<lTrueOrFalse> True if passed char is an affirmation char, otherwise false
Description
This function is used to check if a user’s input is true or not according to the msgxxx module used.
Examples
// Wait until user enters Y DO WHILE ! ISAFFIRM( cYesNo ) ACCEPT "Sure: " TO cYesNo ENDDO
Compliance
Clipper
Files
Library is rtl
Seealso
ISNEGATIVE(), NATIONMSG()
Pingback: Harbour Check Functions | Viva Clipper !
Pingback: Harbour All Functions – I | Viva Clipper !
Pingback: Harbour Language and Nation Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !