* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.UBOUND Function Details.

  QuickSCREEN      Details      Example      Contents      Index
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
UBOUND Function Details
Syntax
  UBOUND(array[,dimension])
 
The argument dimension is an integer from 1 to the number of dimensions in
the array. For an array dimensioned as follows, UBOUND returns the values
listed below:
 
  DIM A(1 TO 100, 1 TO 50, -3 TO 4)
 
  Invocation    Value Returned
  UBOUND(A,1)   100
  UBOUND(A,2)    50
  UBOUND(A,3)     4
 
You can use the shortened syntax UBOUND(array) for one-dimensional arrays
since the default value for dimension is 1.
 
Use the LBOUND function to find the lower limit of an array dimension.
* * ** * * * *