Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript LBound Function

Returns the smallest available subscript for the indicated dimension of an array.

Syntax: VBScript LBound Function

LBound(arrayname[, dimension])

Arguments: VBScript LBound Function

arrayname

The name of the array variable; follows standard variable naming conventions.

dimension

A whole number indicating which dimension's lower bound is returned. Use 1 for the first dimension, 2 for the second, and so on. If dimension is omitted, 1 is assumed.

Remarks: VBScript LBound Function

The LBound function is used with the UBound Function to determine the size of an array. Use the UBound function to find the upper limit of an array dimension.

The default lower bound for any dimension is always 0.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.