Can't you just use an array within a type?
Notice the square brackets (not parenthesis)...
ArraySectors(SectorNumber)\ParameterName[pm] = ParameterValue
Notice the square brackets (not parenthesis)...
Type atype Field normalfield Field anarray[50] End Type typeinstance.atype = New atype typeinstance\normalfield = 5 typeinstance\anarray[4] = 27 Print typeinstance\normalfield For iter = 1 To 10 Print typeinstance\anarray[iter] Next WaitKey()