Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the point/use of LBound in VBScript?

As far as I can establish there is no way to create a 1-based array (or any none 0 based array) in VBScript but it has a LBound function which should therefore always return 0.

So is this some kind of throw back from VB (as you can use "arrayName(1 to 10)") or is there a way that LBound could product a result other than 0 in VBScript (Classic ASP)?

like image 292
GazB Avatar asked Apr 10 '13 13:04

GazB


1 Answers

LBound() is part of VBScript because you could get a non-zero-based array from somewhere else via COM.

like image 171
Ekkehard.Horner Avatar answered Sep 17 '22 23:09

Ekkehard.Horner