/* $DOC$ $AUTHOR$ Copyright 1999 Jose Lalin $TEMPLATE$ Function $NAME$ IsAffirm() $CATEGORY$ API $SUBCATEGORY$ Language and Nation $ONELINER$ Checks if passed char is an affirmation char $SYNTAX$ IsAffirm( ) --> lTrueOrFalse $ARGUMENTS$ is a char or string of chars $RETURNS$ 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 $STATUS$ R $COMPLIANCE$ C $FILES$ Library is core $SEEALSO$ IsNegative(), NationMsg() $END$ */ /* $DOC$ $AUTHOR$ Copyright 1999 Jose Lalin $TEMPLATE$ Function $NAME$ IsNegative() $CATEGORY$ API $SUBCATEGORY$ Language and Nation $ONELINER$ Checks if passed char is a negation char. $SYNTAX$ IsNegative( ) --> lTrueOrFalse $ARGUMENTS$ is a char or string of chars $RETURNS$ 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 $STATUS$ R $COMPLIANCE$ C $FILES$ Library is core $SEEALSO$ IsAffirm(), NationMsg() $END$ */ /* $DOC$ $AUTHOR$ Copyright 1999 Jose Lalin $TEMPLATE$ Function $NAME$ NationMsg() $CATEGORY$ API $SUBCATEGORY$ Language and Nation $ONELINER$ Returns international strings messages. $SYNTAX$ NationMsg( ) --> cMessage $ARGUMENTS$ is the message number you want to get. $RETURNS$ if is a valid message selector, returns the message. If is NIL, it returns "Invalid Argument", and if 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 ENDDO $STATUS$ R $COMPLIANCE$ C $FILES$ Library is core $SEEALSO$ IsAffirm(), IsNegative() $END$ */