RosettaCodeData/Task/Array-length/OoRexx/array-length.rexx

8 lines
107 B
Rexx

/* REXX */
a = .array~of('apple','orange')
say a~size 'elements'
Do e over a
say e
End
Say "a[2]="a[2]