一个很简单的批量作图gs,运行之后老说unable to locate endwhile statement for the while statement at line 4,完全不知道错哪了。请各位帮忙看看吧
'reinit'
'open E:\ncep-data\clu_data\grd.ctl'
n=1
while(n<=23)
'enable print E:\ncep-data\clu_data\%n%.gmf'
'c'
'set t' n
'd hgt'
'print'
'c'
n = n+1
'disable print'
endwhile