Originally Posted By: Henning
Hello,

at your comparison is a bracket at the wrong place:
if(str_cmp("text1.txt", "text2.txt")) == 1

should be:
if(str_cmp("text1.txt", "text2.txt") == 1) {...

or:
if(str_cmp("text1.txt", "text2.txt")) {...


Im not realy sure if you are able to check .txt files against each other. I only know the posibility to check strings against each other.

If im wrong, please correct me.

So, in my opinion, you had to open your file, take a string out of this file (i think with file_read or something, check in the manual) and make the str_cmp check with this strings.

Greetings

Mike