# NATIONMSG()

Returns international strings messages.

Syntax

  NATIONMSG( <nMsg> ) --> <cMessage>

Arguments

  <nMsg> is the message number you want to get.

Returns

  <cMessage> If <nMsg> is a valid message selector, returns the message. If <nMsg> is nil returns "Invalid Argument", and if <nMsg> is any other type it returns an empty string.

Description

  NATIONMSG() returns international message descriptions.

Examples

          // Displays "Sure Y/N: "  and waits until user enters Y
          // Y/N is the string for NATIONMSG( 12 ) with default natmsg module.
          DO WHILE !ISAFFIRM( cYesNo )
            ACCEPT "Sure " + NATIONMSG( 12 ) + ": " TO cYesNo
          END DO

Status

  Clipper

Compliance

  NATIONMSG() is fully CA-Clipper compliant.

Files

  Library is rtl

See Also

- ISAFFIRM()
- ISNEGATIVE()