September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
6
Task/Arrays/OoRexx/arrays.rexx
Normal file
6
Task/Arrays/OoRexx/arrays.rexx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
a = .array~new -- create a zero element array
|
||||
b = .array~new(10) -- create an array with initial size of 10
|
||||
c = .array~of(1, 2, 3) -- creates a 3 element array holding objects 1, 2, and 3
|
||||
a[3] = "Fred" -- assign an item
|
||||
b[2] = a[3] -- retrieve an item from the array
|
||||
c~append(4) -- adds to end. c[4] == 4 now
|
||||
Loading…
Add table
Add a link
Reference in a new issue