ArrayLength

Category: Keywords

Syntax:

ArrayLength:Int(array:Array, dimension:Int)


Parameters

Returns

Int



Summary

Returns the size of one of an array's dimensions

View detailed documentation online



Example
Local map:Int[40][25]
For x:Int = 0 To ArrayLength(map, 0) - 1
    For y:Int = 0 To ArrayLength(map, 1) - 1
        map[x][y] = 1
    Next
Next

BambooBasic © 2026 Michael Denathorn