nag_save_random_state (g05cfc) saves the value of the seed used by the basic generator in the g05 Chapter.
nag_save_random_state (g05cfc) saves information about the basic generator to enable nag_restore_random_state (g05cgc)
subsequently to restore the basic generator to its current state. The values of istate
must not be altered between a call of nag_save_random_state (g05cfc) and a call of nag_restore_random_state (g05cgc)
The program prints 10 pseudorandom numbers generated by nag_random_continuous_uniform (g05cac)
; it saves the generator state after the 2nd, and restores it after the 7th so that the 8th, 9th and 10th numbers are the same as the 3rd, 4th and 5th.