/ Published in: ASP

This function checks to see if two arrays are equal
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function areArraysEqual(byval array1, byval array2) areTheyEqual = true if ubound(array1) <> ubound(array2) then areTheyEqual = false else for i = 0 to ubound(array1) if (array1(i) <> array2(i)) then areTheyEqual = false end if next end if areArraysEqual = areTheyEqual end function
Comments
