Oh yes - and StrComp returns the number of mismatches between the strings, or the index of the first mismatch, or something like that. Anyway the point is that if the strings are identical, StrComp returns 0. So common syntax is 'if (StrComp (foo, "bar") == 0) { ... }'