这是我根据之前别人发的宏拿来修改的其中一段 f#'8"ff*1
FOR i,1,n_field,1 N-XVRuv
hy=FLDY(i)/maxfield kw6cFz
}A^1q5
RAYTRACE 0,hy,0,1,PWAV() rn5"o8|
FORMAT 2.0 #上光线 .Ln;m8
PRINT "field number",i, O|HIO&M
FOR j,1,n,1 \d `dV0X
u(i,j)=-1*ASIN(RAYM(j-1)) jK\V|5k
um(i,j)=-1*ASIN(RAYM(j)) 17WNJ
r(i,j)=RADI(j) dNOX&$/=
h(i,j)=RAYY(j) I~d#p ]>
tmp(i,j)=0 "L9C
IF r(i,j)!=0 THEN tmp(i,j)=ASIN(h(i,j)/r(i,j)) xN e_qO
ain(i,j)=tmp(i,j)-u(i,j) hq5NQi`
%
)`B
-O::
AFU(i,j)=pi*ain(i,j) t)\D
FORMAT 10.4 b ^uP^](J
PRINT AFU(i,j), B*-ToXQQr
>(IITt
运行后出现错误提示 z0T`5NG@
Syntax error: Variable must be followed by = sign. -@YVe:$%b
U(I , J) = - 1 * ASIN ( RAYM ( J - 1 ) ) 4C l,Iw/;
可是程序中是=号,怎么还会提示变量后必须跟=号 =#OHxM
求大神指点下谢谢 \Ku9"x