HTBasic Help
×
Menu
Index

SIZE

Returns the number of elements of an array dimension.
 
 SIZE( array-name[$],dimension )
 
 
 
Usage:
SIZE(A$,X)
Total=SIZE(S$,1)
Upper=BASE(Z,2)+SIZE(Z,2)-1
Example: SIZE.BAS
Description:
The SIZE is the difference between the upper and lower bounds plus one. The dimension argument may be a numeric expression which is rounded to an integer and should be in the range of one through six. If the array does not have as many dimensions as the dimension you specify, an error will be generated.
See Also: