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

posted @ Thursday, June 08, 2006 12:46 PM

Print

Comments on this entry:

# 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.
«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910