CMP()

From TVPaintWiki
Jump to: navigation, search

<<<George<<<George Language Reference

  CMP(string1, string2)

Compares two specified character strings. This instruction returns 0 if the character strings are different, or 1 if they are identical. Upper and lower case letters are considered to be the same.

Example :

test = CMP(word1, word2)
IF(test == 1)
	PRINT "the two words are identical"
END