I was trying to save the interaction energies in array and dump them in the file at the end of the loop completion.
I tried things mentioned in miscom.doc but still I get this error I might not have understood the miscom.doc completely.
Below is the snippet and error which I encounter.
OPEN UNIT 28 WRITE FORM NAME dummyfile.dat
SET frame 0
inter SELECT some1 END SELECT some2 END
set @wbvdw@@frame ?vdw
set @wbelec@@frame ?elec
set @wbtot@@frame ?ener
if frame .LT. ?NFILE GOTO TimeFrameTernary
echo @wbvdw @wbelec @wbtot
CHARMM> set @wbvdw@@frame ?vdw
Parameter: FRAME -> "0"
* WARNING * <PARSUB> Command ignored. Token not found: >WBVDW0<