01.06.2013, 14:21
Alright, from what I see.. in fopen, case does not matter. In case, you're using something like Dini or any other include, I'm not sure if it will work because you'll have to change it.
An example with simple file.inc
The output was: The file was found, but it does not match in the letters case.
An example with simple file.inc
pawn Код:
main( )
{
new File:example = fopen("FILE.TXT", io_read);
// A file called file.txt (lowercase) and it's located in scriptfiles
if(example)
{
if(!strcmp("FILE.TXT", "file.txt", false))
{
print("The file was found and it does match!");
fclose(example);
}
else print("The file was found, but it does not match in the letters case.");
}
}