Data update
This commit is contained in:
parent
61b93a2cd1
commit
5af6d93694
858 changed files with 20572 additions and 2082 deletions
21
Task/Arrays/LDPL/arrays.ldpl
Normal file
21
Task/Arrays/LDPL/arrays.ldpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
data:
|
||||
myArray is list of numbers
|
||||
|
||||
procedure:
|
||||
# add elements
|
||||
push 1 to myArray
|
||||
push 2 to myArray
|
||||
push 3 to myArray
|
||||
|
||||
# access elements
|
||||
display myArray:0 lf
|
||||
|
||||
# store elements
|
||||
store 99 in myArray:0
|
||||
|
||||
# remove elements
|
||||
remove element at 1 from myArray
|
||||
delete last element of myArray
|
||||
|
||||
# clear array
|
||||
clear myArray
|
||||
Loading…
Add table
Add a link
Reference in a new issue