Return to Snippet

Revision: 22088
at December 31, 2009 12:56 by jlvallelonga

Initial Code
function areArraysEqual(byval array1, byval array2)
	areTheyEqual = true
	if ubound(array1) <> ubound(array2) then
		areTheyEqual = false
		for i = 0 to ubound(array1)
			if (array1(i) <> array2(i)) then
				areTheyEqual = false
			end if
	end if
	areArraysEqual = areTheyEqual
end function

Initial URL

Initial Description
This function checks to see if two arrays are equal

Initial Title
Are Arrays Equal

Initial Tags
array, ASP

Initial Language