Step
 
语句修饰符。

语法

For iterator = initial_value To end_value Step increment

Line [ buffer , ] Step ( x1 , y1 ) - Step ( x2 , y2 ) [, [ color ][, [ B|BF ][, style ] ] ]

Circle [ target, ] Step ( x , y ), radius [, [ color ][, [ start ][, [ end ][, [ aspect ][, F] ] ] ] ]

Paint [ target , ] STEP ( x , y ) [, [ paint ][, [ border_color ] ] ]

说明

For语句中,Step指定每个循环的循环迭代器的增量。

LineCirclePaint语句中,Step表示以下坐标具有相对于图形光标的值。

例子

Dim i As Integer
For I=10 To 1 Step -1
Next



Line -Step(10,10),13


参考