procedure menu
To record a procedure:
While recording a procedure, you can insert a pause, which lets the user of the procedure do things that may vary from run to run. To insert a pause, click on the little Pause/Resume box at the top of the screen. The system will ask you for a prompt for the pause. Enter instructions that will tell the user what you expect him/her to do. Then do what you have just told the user to do, and hit the Pause/Resume box again. On playback, the system will hit the pause, display your prompt, and let the user take control. When the user finishes, he/she relinquishes control by hitting Pause/Resume. Note: the user may work only within whatever menu is displayed when the pause takes over. Trying to change to another menu within a pause will abort the pause and probably mess up the procedure.
To play back a procedure:
When recording a procedure, it can happen that you want to enter a name for a file into a menu, but that name may change from one execution of the procedure to another. To get around this, you can enter an environment variable as the file name. For example, you can use the operating system command setenv outfile xyz (under UNIX) or outfile:=xyz (under VMS) before running IcoMetrics, and then enter a file name as $outfile (when recording the procedure). This results in a procedure that can be used on files with different names, just by issuing setenv before running it.