baancust1
8th April 2011, 14:50
When I generate a file using seq.puts in a session at times the final file generated has few lines where the records get clubbed together in a single line.This occurs rarely but is there something that can eliminate this problem completely.
seq.flush() can be used after every seq.puts so that each and every record gets flushed into the file from the buffer instead of it happening in bulk but will it slow done the session ???
Regards
Baancust
seq.flush() can be used after every seq.puts so that each and every record gets flushed into the file from the buffer instead of it happening in bulk but will it slow done the session ???
Regards
Baancust