Data update
This commit is contained in:
parent
61b93a2cd1
commit
5af6d93694
858 changed files with 20572 additions and 2082 deletions
1
Task/Array-length/Dt/array-length.dt
Normal file
1
Task/Array-length/Dt/array-length.dt
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ "apple" "orange" ] len
|
||||
|
|
@ -6,5 +6,5 @@ main =
|
|||
["apple", "orange"]
|
||||
|> Array.fromList
|
||||
|> Array.length
|
||||
|> Basics.toString
|
||||
|> String.fromInt
|
||||
|> Html.text
|
||||
|
|
|
|||
9
Task/Array-length/LDPL/array-length.ldpl
Normal file
9
Task/Array-length/LDPL/array-length.ldpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
data:
|
||||
fruits is text list
|
||||
len is number
|
||||
|
||||
procedure:
|
||||
push "apple" to fruits
|
||||
push "orange" to fruits
|
||||
get length of fruits in len
|
||||
display len lf
|
||||
Loading…
Add table
Add a link
Reference in a new issue