IF tagIds(0) <> "" THEN response.write tagIds(0) & "<BR>"
IF tagIds(1) <> "" THEN response.write tagIds(1) & "<BR>"
IF tagIds(2) <> "" THEN response.write tagIds(2) & "<BR>"
IF tagIds(3) <> "" THEN response.write tagIds(3) & "<BR>"
IF tagIds(4) <> "" THEN response.write tagIds(4) & "<BR>"
IF tagIds(0) <> "" THEN response.write tagIds(0) & "<BR>"
IF tagIds(1) <> "" THEN response.write tagIds(1) & "<BR>"
IF tagIds(2) <> "" THEN response.write tagIds(2) & "<BR>"
IF tagIds(3) <> "" THEN response.write tagIds(3) & "<BR>"
IF tagIds(4) <> "" THEN response.write tagIds(4) & "<BR>"
Inkompatibla typer: 'tagIds'
/pdf/default.asp, line 12
#12 = IF tagIds(0) <> "" THEN response.write tagIds(0) & "<BR>"
Men hur gör man en EN-dimensionell array till en TVÅ-dimensionell? Utan att skriva siffror och bokstäver för hand!?
Ja.. det är i alla fall inte min hjärna kapabel att räkna ut i skrivande stund!
Public Function Test() As Variant
Dim f(0, 3) As Variant ' f(3) replaced here with f(0,3)
f(0, 1) = "a"
f(0, 2) = "b"
f(0, 3) = "c"
Test = f
End Function