How to send numbers from one Arduino to another using Serial

In other words, set a flag or something when all the figures have arrived (at a newline or something). Then do the logging, and the delay, once, and clear that flag for next time.