我有以下代码:
for i:=0 to num_stripes by 1
R := Row1 + 5*i
gen_rectangle1(TransStripe, R,Column1,R+4, Column2)
intersection(TransStripe, LabelSelcted, RegionIntersection)
smallest_rectangle1(RegionIntersection, dummy, BeginCol, dummy, EndCol)
inizio := BeginCol - 5
fine := EndCol + 5
area_center(RegionIntersection, dummy, centro_row, centro_col)
gen_rectangle1(Str, R, inizio, R+4, fine)
dev_set_color('red')
dev_display(Str)
endfor
在最后几行中,我创建了一个名为Str
. 有没有办法即时创建名称,以便每个矩形都有一个变量?STR1,STR2 ...