Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Remove
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Array.Max (gb)

Property Read Max As Integer

Returns the greatest index of the array.

In other words, Array.Max = Array.Count - 1.

This property is useful for enumerating the array using FOR .. NEXT

Examples

DIM i AS Integer, Text AS String[]

Text = ["Just", "test"]

FOR i = 0 TO Text.Max
    PRINT Text[i]
NEXT