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" 'String
document.write("Value STORED in Array index 0 : " & arr(0) & "<br /&GT;")

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" 'String
document.write("Value stored in Array index 0 : " & arr(0) & "<br />")



Discussion

No Comment Found