发表于:2004-12-16 18:48:00
4楼
以上程序有笔误,写清楚一点如下:
for t=0 to N
table(t,f1(x,y,Ф))
table(t+N+1,f2(x,y,Ф))
table(t+2*N+2,f3(x,y,Ф))
next t
repeat
cam(0,N,1,1) axis(0)
cam(N+1,2*N+1,1,1) axis(1)
cam(2*N+2,3*N+2,1,1) axis(2)
until false
以上是无限循环程序.如只需执行一次,用下列指令即可.
cam(0,N,1,1) axis(0)
cam(N+1,2*N+1,1,1) axis(1)
cam(2*N+2,3*N+2,1,1) axis(2)