1.

How will you assign values to an array in VBScript?

Answer»

The values are assigned to the array by specifying array index value against each one of the values to be assigned.

Example −

Dim arr(5)arr(0) = "VBScript"    'Stringdocument.write("Value stored in Array index 0 : " & arr(0) & "<br />")


Discussion

No Comment Found