Why I get an error when I use length with arrays?
According with de docs... :
Arrays also provide a read-only length field that returns the total number of elements in the array.
According with de docs... :
Arrays also provide a read-only length field that returns the total number of elements in the array.
Strict Type MyType Field Slots:Int[] Method New() Slots=Slots[..10] Print Len(Slots) ' OK Print Slots.Length() ' ERROR expression of type INT cannot be invoked EndMethod EndType Local test:MyType=New MyType