Code:
str_cpy(save_dir,"C:\\ProgramData\\DLively\\Subfolder\\save_dir")

filehandle = file_open_write ("%SAVE_DIR%\\scores.txt");
if(filehandle == 1){
		
	file_str_write(filehandle,end_input_name_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,end_name_1_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,end_name_2_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,end_name_3_str_i);
	file_str_write(filehandle,",");
		
	file_str_write(filehandle,input_name_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,name_1_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,name_2_str_i);
	file_str_write(filehandle,",");
	file_str_write(filehandle,name_3_str_i);
		
	file_close (filehandle); 
}
else beep();



This worked once and created the file in this directory - Then I deleted it to see if it would do it again - and no. not only that, but nothing was inputted inside.

Last edited by DLively; 07/09/14 03:45.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com