This statement directs the simulator to flush the 'write' buffer associated with the open file 'filename'. 'filename' is specified as a string. .flush filename
.flush filename