Avg cfv.class

I'm just messing around to get used to making *.class files

 so this is how i wrote the *.class file make avg spectra of the split files



 so here it goes





 emacs Avg_cfv.class 



 define character prefix*100 

 define character name*100 



 prefix = &quot;G49.4-_cfv_split&quot; 

 for i 11 to 88 by 1 

 name = 'prefix'i'&quot;.smt" '

 !for some reason the if file would not allow me to put multiple variable so i hadto create a single variable name insert it

 if file(name)              ! if name exist, then do the following

 file in 'name' 

<p class=MsoNormal> find 

<p class=MsoNormal> average /NOMATCH 

<p class=MsoNormal> plot 

<p class=MsoNormal> pause         

<p class=MsoNormal> hardcopy 'prefixi'&quot;_avg.ps&quot; 

<p class=MsoNormal> clear 

<p class=MsoNormal> end if 

<p class=MsoNormal> next