IsNegative()

ISNEGATIVE()

Checks if passed char is a negation char.

Syntax

      ISNEGATIVE( <cChar> ) --> <lTrueOrFalse>

Arguments

<cChar> is a char or string of chars

Returns

<lTrueOrFalse> True if passed char is a negation 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 N
      DO WHILE ! ISNEGATIVE( cYesNo )
         ACCEPT "Sure: " TO cYesNo
      ENDDO

Compliance

Clipper

Files

Library is rtl

Seealso

ISAFFIRM(), NATIONMSG()

Advertisements

4 responses to “IsNegative()

  1. Pingback: Harbour Check Functions | Viva Clipper !

  2. Pingback: Harbour All Functions – I | Viva Clipper !

  3. Pingback: Harbour Language and Nation Functions | Viva Clipper !

  4. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s