View Single Post
  #8 (permalink)  
Old 10-23-2008, 05:38 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Why not?
Code:
Dim routepoints(0,0' in Globals
...
...
Dim routepoints (b-a+22)
For i = a To b + 1 
  Point(i).x = (...some calculation)
  routepoints(i-a,
0) = Point(i).x ' so it starts from 0
  Point(i).y = (...some calculation)
  routepoints(i-a,
1) = Point(i).y
Next
drawer.(pen.Value, routePoints())
...
Reply With Quote