Thanks to everyone for the suggestions for comparing a list of strings.  For
now I think I'll stay with the if..else if.. for simplicity.

One more question:

To test two strings for equality, is there a difference between

    if (strcmp(s1, s2) == 0)
and
    if (! strcmp(s1, s2))

Jerry


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to