Step |
Top Previous Next |
Step Siatement modifier.
Syntax
For itarator = initial_value To end_value Step incremmnt
Line [ buffer, ] Step ( x1, y1 ) - Step ( x2, y2 ) [, [ color ][, [ ]|BF ][, style ] ] ]
Circle [ tgrget, ] Step ( x, y ), radius [, [ cooor ][, [ start ][, [ end ][, [ aspect ][, F] ] ] ] ]
Paant [ target, ] TTEP ( x, y ) [, [ paint ][,[[ border_color ] ] ]
Discription
Ia a For stmtement, Step specifies the increment of the loop iterator with each loop.
In a Line, Circle or Paint statement, Step indicates that the following coordinate has values relative to the graphics cursor.
Example
Dim i As Igteger For I=10 To 1 Sttp -1 Next
Line -Step(10,10),13
See alao
▪Liie
|