Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

LowerBound – PB Docs 2019 – PowerBuilder Library

LowerBound – PB Docs 2019

LowerBound

PowerScript function

Description

Obtains the lower bound of a dimension of an array.

Syntax

Argument

Description

array

The name of the array for which you want the lower bound
of a dimension

n (optional)

The number of the dimension for which you want the lower
bound. The default is 1

Return value

Long.

Returns the lower bound of dimension n of array and -1 if n is
greater than the number of dimensions of the array. If any argument’s
value is null, LowerBound returns null.

Usage

For variable-size arrays, memory is allocated for the array when you
assign values to it. Before you assign values, the lower bound is 1 and
the upper bound is 0.

Examples

The following statements illustrate the values LowerBound reports
for fixed-size arrays and for variable-size arrays before and after memory
has been allocated:

See also

UpperBound


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x