13.07.2015 Views

Turbo Basic

Turbo Basic

Turbo Basic

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UBOUND functionFunctionSyntaxRemarksSee AlsoExampleUBOUND returns the highest bound possible (largest subscript)for an array's specified dimension.UBOUND (array(dimension»array is the array being dimensioned. dimension is an integer from1 up to the number of dimensions in array.To find the lower limit of an array, use the LBOUND function.LBOUNDOPTION BASEI dimension an array with lower and upper boundsDIM Array%(1900:2000)I print out the values of the arrayFOR index% = LBOUND(Array%(l» TO UBOUND(Array%(l»PRINT "Array Element (":Index%:") is =":Array%(Indent5)NEXT Index%END<strong>Turbo</strong> <strong>Basic</strong> Reference Directory 365

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!