In a object (auto_dim_a), we have a parameter (ovlp_coords) which is 50X2 Arraytype of APIParT_Length type. We used to have in over master script
ovlp_coords[1][1] = 0.00 : ovlp_coords[1][2] = 0.00
ovlp_coords[2][1] = 1.00 : ovlp_coords[2][2] = 0.00
ovlp_coords[3][1] = 1.00 : ovlp_coords[3][2] = 1.00
ovlp_coords[4][1] = 0.00 : ovlp_coords[4][2] = 1.00
ovlp_coords[5][1] = 0.00 : ovlp_coords[5][2] = 0.00
no_ovlpcoords = 5
You could declare array dimensions, and force "ovlp_coords" to update, with a "parameters" statement.
Is it what you are trying to achieve?
if bArrayTest then
dim ovlp_coords[5][2]
! your code
else
dim ovlp_coords[10][3]
! your code
endif
no_ovlpcoords = vardim1 (ovlp_coords)
parameters no_ovlpcoords = no_ovlpcoords,
ovlp_coords = ovlp_coords