Link to home
Start Free TrialLog in
Avatar of MitchBroadhead
MitchBroadhead

asked on

variable size list array

I have a linked list of coordinates, called Coordinate_Dbl.  It contains an x and a y value.
type Coordinate_Dbl
  x as double
  y as double
end type

When I dimension it at the beginning of the function, I put (eg):

Dim tempCoordinate(7) as Coordinate_Dbl

But I can't set the number of elements in the array to:

Dim numofPoints as Integer
dim tempCoordinate(numofPoints) as Coordinate_Dbl

What do I do?
PS I am a bit hung over today, so I might be being stupid
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial