Writing to files
by J Sears · in Torque Game Builder · 11/19/2006 (9:36 pm) · 2 replies
I have a program that writes to a file, no problems there so far but I was wondering if there is a different command for write line if you want it to write on the previous line where there is already information.
I have an array of information and so I use a for loop to get all the information and write it to the file so each array block ends up on a new line and I would prefer it to all be on the same line. I'm hoping to make a read function to do 2 things, 1 read from these lines to create the level and 2 when I'm creating these lines go back and make sure a new line is not the same as an old one. Any ideas?
I have an array of information and so I use a for loop to get all the information and write it to the file so each array block ends up on a new line and I would prefer it to all be on the same line. I'm hoping to make a read function to do 2 things, 1 read from these lines to create the level and 2 when I'm creating these lines go back and make sure a new line is not the same as an old one. Any ideas?
Torque Owner Ben R Vesco