file_open_game (string)
Like file_open_read, but this instruction
takes its file from the game directory, instead of the save directory. This
way files with arbitrary data can be provided together with the game. The file
must really exist in the game directory, it can't be encrypted within a resource.Parameters:
string - filename
Returns:
handle - file handle, unique number to identify the
file; or
0 if the file couldn't be opened.
Example:
var_nsave filehandle;
...
filehandle = file_open_game ("address.txt"); // opens the file adress.txt to be read
See also:
file_open_read,
file_open_write, file_open_append,
file_close, file_var_write,
file_var_read, file_str_write,
file_str_read, file_chr_read,
file_asc_write, file_asc_read