Denis Koroskin wrote:
On Tue, 24 Nov 2009 14:00:18 +0300, Gerrit Wichert <g...@green-stores.de> wrote:

how about opLimit ?

I recall that Visual Basic has UBound function that returns upper bound of a multi-dimensional array:

Dim a(100, 5, 4) As Byte

UBound(a, 1) -> 100
UBound(a, 2) -> 5
UBound(a, 3) -> 4

Works for single-dimensional arrays, too:

Dim b(8) As Byte
UBound(b) -> 8

See the length property.

char[] a = "Hello, World!";  // a.length = 13

Reply via email to