Home > comp > gb > array > max 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Array.Max (gb)
Syntax
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