|
Re: Writing a 2D array to a .csv file inaccuracy
Local variables can let you get intermediate data out of a loop without waiting for the loop to terminate. Similarly, they can be a simple way to get changing data into a loop. They won't easily let you synchronize parallel tasks -- that's what semaphores and queues and the like are for -- but they do permit communication between them.
|