Array length: Difference between revisions
Add LDPL
imported>Louisono m (function to cast int to string is not in the Basics module but in the String module) |
(Add LDPL) |
||
Line 1,841:
<syntaxhighlight lang="latitude">println: ["apple", "orange"] length.</syntaxhighlight>
=={{header|LDPL}}==
<syntaxhighlight lang="ldpl">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
</syntaxhighlight>
{{out}}
<pre>
2
</pre>
=={{header|Liberty BASIC}}==
|