wrinte to textfile ... new line problem
in
Programming Questions
•
7 months ago
hi all,
im new to processing.
im writing a game, and im trying to store the scores in a text file.
first im loading the scores to text array of type int, the in the end write the score in a text file, however i would like to enter every score in a new line.
atm its writing always at the 1st line.
any help would be appreciated.
[code]
//array to store scores
int[] scrs = new int[2];
scorers[0] = currTime;
saveStrings("scrs.txt", str(scs));
[/code]
thanks
1