now:
Code:
int foo(STRING* file)
{	
	var f = file_open_write(file);
	if(f!=0)
	{
		STRING* out = str_create("test");
		file_str_write(f,out);
		file_close(f);
	}
	
}



edit: aku is right. the problem is the int var

thanks fpr the help

Last edited by Tempelbauer; 08/15/10 21:52.