自己定义了一个数组,放在模块里面,如下类型
Type Genetype
Value As Double
Upper() As Double
Lower() As Double
End Type下面是调用的时候
dim Pop() as Genetypen= txt1.textRedim Pop(n)可是Upper()怎么重新Redim啊,还需要Redim么,在哪儿定义?因为下面用到Pop(i).Upper(j)和Pop(i).Value
Type Genetype
Value As Double
Upper() As Double
Lower() As Double
End Type下面是调用的时候
dim Pop() as Genetypen= txt1.textRedim Pop(n)可是Upper()怎么重新Redim啊,还需要Redim么,在哪儿定义?因为下面用到Pop(i).Upper(j)和Pop(i).Value
m =txt2.textRedim Pop(n).upper(m)