![]() |
#2
邵帅2012-12-07 19:03
|
Public Xn As Single, Yn As Single
Public X0 As Single, Y0 As Single
Public Xt As Single, Yt As Single
Public n As Double
Xn = n(Xt - X0) + X0
Yn = n (Yt - Y0) + Y0
为什么这样编译提示缺少数组?而下面这样就ok。
Xn = n * (Xt - X0) + X0
Yn = n * (Yt - Y0) + Y0