X
Xenon
Guest
hey guys i'm using a pretty basic code straight from the index and i am getting pretty basic errors, does this have something to do with included files?
Here is the code i am using and the error code supported.
CODE
ERROR
Here is the code i am using and the error code supported.
CODE
Code:
var file;
file = get_open_filename(".obj file|*.obj", "");
if file != ""
{
file_text_open_write(file);
file_text_write_string(file, "000010000101000101000001");
file_text_close(file);
}
Code:
of Key Press Event for <Space> Key
for object obj_vertex:
File not opened for writing.
at gml_Object_obj_vertex_KeyPressed_SPACE_1 (line 6) - file_text_write_string(file, "000010000101000101000001");
___________________________________________
############################################################################################
ERROR in
action number 1
of Key Press Event for <Space> Key
for object obj_vertex:
Trying to close unexisting text file.
at gml_Object_obj_vertex_KeyPressed_SPACE_1 (line 7) - file_text_close(file);
############################################################################################