Why does VBScript use LBound?

Someone asked an interesting question the other day: If VBScript will only allow zero for the lower boundary of arrays, why does it honour the LBound function? I gave the expected answers like “allows for less issues porting to VB, etc.”, but to be totally honest I don't know why. I don't suppose it matters, but it's the kind of thing that drives me batty....oy
Print | posted on Thursday, June 08, 2006 12:46 PM

Feedback

# re: Why does VBScript use LBound?

left by Codesailor at 6/12/2006 4:46 PM Gravatar
Isn't it because of older versions of BASIC which allowed the programmer to explicitly define the lower bound?
Comments have been closed on this topic.