在ASP中,可以使用以下方法對(duì)數(shù)組進(jìn)行賦值:
Dim myArray(3)
myArray(0) = "Value1"
myArray(1) = "Value2"
myArray(2) = "Value3"
Dim myArray
myArray = Array("Value1", "Value2", "Value3")
Dim myString
myString = "Value1,Value2,Value3"
Dim myArray
myArray = Split(myString, ",")
Dim myArray(3)
For i = 0 To 2
myArray(i) = "Value" & (i + 1)
Next
以上是ASP中常用的數(shù)組賦值方法,根據(jù)具體的需求選擇適合的方法。