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

8 lines
107 B
Rexx
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
/* REXX */
a = .array~of('apple','orange')
say a~size 'elements'
Do e over a
say e
End
Say "a[2]="a[2]