Hi!

I'm creating a situation where my file .txt has disappeared from the folder.
The stats for the game are no longer available.

This is what I have :
Code:
var filehandle;
...
function check_file_existence ()
{
	filehandle = file_open_read ("gameresults_1.txt");
	if (filehandle > 0)
	{
		do
	}
	else
	{
		do
	}
}



The engine does not find the file and says so.
Quote:

W1518 Can't find file ..................


What is the correct code for this situation?