Look up these commands: Data & Restore
Use those to store coordinates and read them.. then you only need one x.x = new x thing inside a For/Next or something.. that'd shorten your code a LOT.
IE:
Tracer
Use those to store coordinates and read them.. then you only need one x.x = new x thing inside a For/Next or something.. that'd shorten your code a LOT.
IE:
; Creates 3 Type entries with x and y coordinates from DATA statements Type test Field tx Field ty End Type Restore stuff Read num_coords ; Read amount of coords in DATA statements (3) For q = 1 To num_coords Read x ; Read X coord (10,20,30) Read y ; Read Y coord (20,30,40) t.test = New test ; Put into type t\tx = x t\ty = y Next .stuff Data 3 ; x1 y1 x2 y2 x3 y3 Data 10,20,20,30,30,40
Tracer