Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to DIM an array

Status
Not open for further replies.

jcc3inc

Programmer
Dec 17, 2003
9
US
Gentlemen (and Ladies):

In handling data from an HPGL file, in order to connect the non-ordered segments of a shape which closed on itself, I plan to find the starting and endpints of each segment, save these in an array, and then search the array to find the matching segment start or endpoint to connect adjacent segments.

Since the total segments may be 5 or 5000, how should I DIMension the array? Each element will look like: [PA12345,23456;PD] or [PA12345,23456;PU PA34567,45678; PD]
Hope this is enough data!

Regards,
Jack C.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top