Welcome to my ASP Code Website

LBound ASP Array Function



LBound returns the lowest member of an array in ASP. While ubound is quite useful, and tells you how full your array is, lbound is not nearly as useful.

That's because most arrays start at spot 0, and fill up from there. You can pretty much always start your array processing at spot 0 and go up through however array members you are using.

If you have an array

Letters()

That has as its members

Letters(0) = "A"
...
Letters(25) = "Z"

and for some reson you didn't know what the bottom member of this array was, you could use

BottomMember = lbound(letters)

This would set BottomMember equal to zero.

ASP Array Function List