EOF: Execute On End-Of-File (EOF)


\begin{command}
\item[\textbf{Form: } EOF VISTA\_command\hfill]{}
\item[VISTA\_command]{is any valid VISTA command.}
\end{command}
EOF tells VISTA to execute the given VISTA command whenever an end of file is encountered in an OPEN'ed ASCII data file. See the OPEN and READ commands for information on how to use ASCII data files. The command can be any VISTA command but is quite often a GOTO command. VISTA_command can not contain multiple commands separated by semicolons.

  1.   EOF GOTO WHEREVER
      Any number of procedure lines...
      WHEREVER:
      The next commands to be executed after an end-of-file.
    
  2.   EOF EOF_FLAG=1
      Sets the VISTA variable EOF_FLAG to 1 upon an end-of-file.