&echo &on &s count := [filelist *.plt outfile -file] &if %count% <= 0 &then &return Error generating output file. &s unit := [open outfile ok -read] &do I := 1 &to %count% &s plotfile := [read %unit% ok] EXPORT PLOT %plotfile% %plotfile% &end /* close and delete output file. &s ok := [close %unit%] &s ok := [delete outfile -file] &echo &off &return