# 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
          END DO

Status

  Ready

Compliance

  ISAFFIRM() is fully CA-Clipper compliant.

Files

  Library is rtl

See Also

- ISNEGATIVE()
- NATIONMSG()