EQUAL - compare two strings for equality.

Usage:

B:
   ret = equal( string1, string2 );
/* C users use "strcmp" */

Where:

ret
is non-zero if "string1" and "string2" are identical, zero otherwise.

Description:

EQUAL tests whether or not two B strings are identical. It is handy in situations like

if ( equal(s1,s2) ) ...

See Also:

expl b lib compare

Copyright © 1996, Thinkage Ltd.