定义简单数组有两种方法在asp中定义和初始化数组,让我们看看每种的例子:方法一:MyArray=Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")数组大小由初始化元素个数决定。方法二:DimmyArray(2)'指定数组大小myArray(0)="Jan"myArray(1)="Feb"动态改变数组的大小DIMmyArray()REDIMmyArray(20)'将数组大小重新定义为20可扩展数组举例:将数组从0扩展到10DimMyArray()fori=0to10ReDimPreserve