To write scalars A and B to file FILE.DAT using some format, and then to append to the file the vectors X, Y and Z, enter: WRITE\SCALAR\FORMAT FILE.DAT ('A = ',F10.3,' B = ',F10.3) A B WRITE\APPEND FILE.DAT X Y Z