Don't work openForWrite in a new Game Builder 1.5.1
by Viktar Sredzin · in Site Feedback · 11/07/2007 (1:33 am) · 0 replies
The problem is that I can't use the openForWrite method like this
$hsf = new FileObject();
%res = $hsf.openForWrite("./scores.dat");
It always returns %res=0 and does not create and open file for writing. I've tried to use
./data/scores.dat
~/data/scores.dat
scores.dat
without any results.
Is it a bug or I'm doing anything wrong? In Game Builder 1.1.3 the same code worked well.
$hsf = new FileObject();
%res = $hsf.openForWrite("./scores.dat");
It always returns %res=0 and does not create and open file for writing. I've tried to use
./data/scores.dat
~/data/scores.dat
scores.dat
without any results.
Is it a bug or I'm doing anything wrong? In Game Builder 1.1.3 the same code worked well.