Table of Contents

ugBASIC User Manual

UBOUND

SYNTAX

   = UBOUND( array [, dimension])

PURPOSE

Retrieves the maximum value of the index of an array, given the dimension.

EXAMPLE

  DIM a(10,20)
  PRINT UBOUND(a,1) : REM it will print 20

ABBREVIATION

 Ub

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY