[求助][讨论]lbound命令~~
有人可以白话解释下面三行的意思吗?感激不尽~~<BR>Dim I As Integer<BR>Dim str As String<BR>If VarType(pts) <> vbEmpty Then '此行代表何意呢??<BR>For I = LBound(pts) To UBound(pts) Step 3 '此行代表何意呢??<BR>pt(0) = pts(I): pt(1) = pts(I + 1): pt(2) = pts(I + 2) '此行代表何意呢??<BR>Set cir = ThisDrawing.ModelSpace.AddCircle(pt, 5)<BR>Next I<BR>End If<BR> <P>数组是否为空</P><P>数组的上下标</P>
<P>数组形式为(x0 y0 z0 x1 y1 z1 x2 y2 z2.....)取处点</P> <P>感谢解答:</P>
<P></P>
<P>如绘制选择一条直线,如下行代表直线的何意义??</P>
<P>For I = LBound(pts) To UBound(pts) Step 3</P>
<P>pt(0) = pts(I): pt(1) = pts(I + 1): pt(2) = pts(I + 2)</P>
页:
[1]