Daniel Mallett
Member
I have some code which has been working for ages and now does not seem to work at all.
I tried opening a new project from scratch to test the following code.
ini_open("test.ini");
ini_write_real("test", "test", 6);
ini_read_real("test", "test", "");
ini_close();
This gives me the following problem.
ini_read_real argument 3 incorrect type (string) expecting a Number (YYGR)
at gml_Room_room0_Create (line 4) - ini_read_real("test", "test", "");
If I read it as a string it works.
I have no idea what is causing this. It started doing this overnight.
I tried opening a new project from scratch to test the following code.
ini_open("test.ini");
ini_write_real("test", "test", 6);
ini_read_real("test", "test", "");
ini_close();
This gives me the following problem.
ini_read_real argument 3 incorrect type (string) expecting a Number (YYGR)
at gml_Room_room0_Create (line 4) - ini_read_real("test", "test", "");
If I read it as a string it works.
I have no idea what is causing this. It started doing this overnight.